Sha256: 0fb3e5d7f67ea5afac893b7a549d8186301eec48fed1b2b3bec8294598cee43f

Contents?: true

Size: 280 Bytes

Versions: 13

Compression:

Stored size: 280 Bytes

Contents

module RspecApiDocs
  module Renderer
    class RaddocsRenderer
      class Link
        def self.call(resource_name, example_name)
          "#{resource_name.downcase.gsub(/[^a-z]/, '_')}/#{example_name.downcase.gsub(/[^a-z]/, '_')}.json"
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rspec-api-docs-1.1.0 lib/rspec_api_docs/formatter/renderer/raddocs_renderer/link.rb
rspec-api-docs-1.0.0 lib/rspec_api_docs/formatter/renderer/raddocs_renderer/link.rb
rspec-api-docs-0.14.0 lib/rspec_api_docs/formatter/renderer/raddocs_renderer/link.rb
rspec-api-docs-0.13.0 lib/rspec_api_docs/formatter/renderer/raddocs_renderer/link.rb
rspec-api-docs-0.12.0 lib/rspec_api_docs/formatter/renderer/raddocs_renderer/link.rb
rspec-api-docs-0.11.0 lib/rspec_api_docs/formatter/renderer/raddocs_renderer/link.rb
rspec-api-docs-0.10.0 lib/rspec_api_docs/formatter/renderer/raddocs_renderer/link.rb
rspec-api-docs-0.9.0 lib/rspec_api_docs/formatter/renderer/raddocs_renderer/link.rb
rspec-api-docs-0.8.0 lib/rspec_api_docs/formatter/renderer/raddocs_renderer/link.rb
rspec-api-docs-0.7.0 lib/rspec_api_docs/formatter/renderer/raddocs_renderer/link.rb
rspec-api-docs-0.6.0 lib/rspec_api_docs/formatter/renderer/raddocs_renderer/link.rb
rspec-api-docs-0.5.0 lib/rspec_api_docs/formatter/renderer/raddocs_renderer/link.rb
rspec-api-docs-0.4.0 lib/rspec_api_docs/formatter/renderer/raddocs_renderer/link.rb