We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42d2bc6 commit 6843685Copy full SHA for 6843685
lib/rspec_api_documentation/writers/json_iodocs_writer.rb
@@ -2,7 +2,7 @@
2
3
module RspecApiDocumentation
4
module Writers
5
- class JSONIodocsWriter < Writer
+ class JsonIodocsWriter < Writer
6
attr_accessor :api_key
7
delegate :docs_dir, :to => :configuration
8
@@ -32,7 +32,7 @@ def sections
32
end
33
34
def examples
35
- @index.examples.map { |example| JSONExample.new(example, @configuration) }
+ @index.examples.map { |example| JsonIodocsExample.new(example, @configuration) }
36
37
38
def as_json(opts = nil)
@@ -48,7 +48,7 @@ def as_json(opts = nil)
48
49
50
51
- class JSONExample
+ class JsonIodocsExample
52
def initialize(example, configuration)
53
@example = example
54
0 commit comments