Skip to content

Commit 6843685

Browse files
authored
update classnames for json_iodocs_writer
1 parent 42d2bc6 commit 6843685

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/rspec_api_documentation/writers/json_iodocs_writer.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module RspecApiDocumentation
44
module Writers
5-
class JSONIodocsWriter < Writer
5+
class JsonIodocsWriter < Writer
66
attr_accessor :api_key
77
delegate :docs_dir, :to => :configuration
88

@@ -32,7 +32,7 @@ def sections
3232
end
3333

3434
def examples
35-
@index.examples.map { |example| JSONExample.new(example, @configuration) }
35+
@index.examples.map { |example| JsonIodocsExample.new(example, @configuration) }
3636
end
3737

3838
def as_json(opts = nil)
@@ -48,7 +48,7 @@ def as_json(opts = nil)
4848
end
4949
end
5050

51-
class JSONExample
51+
class JsonIodocsExample
5252
def initialize(example, configuration)
5353
@example = example
5454
end

0 commit comments

Comments
 (0)