Sha256: 889a772422a66c41d48c4a4f58f40491bf0a5161eb0911ae680d413edf1d7d7f

Contents?: true

Size: 226 Bytes

Versions: 15

Compression:

Stored size: 226 Bytes

Contents

module OasRails
  module Spec
    class Reference
      include Specable
      attr_reader :ref

      def initialize(ref)
        @ref = ref
      end

      def to_spec
        { '$ref' => @ref }
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
oas_rails-0.9.0 lib/oas_rails/spec/reference.rb
oas_rails-0.8.4 lib/oas_rails/spec/reference.rb
oas_rails-0.8.3 lib/oas_rails/spec/reference.rb
oas_rails-0.8.2 lib/oas_rails/spec/reference.rb
oas_rails-0.8.1 lib/oas_rails/spec/reference.rb
oas_rails-0.8.0 lib/oas_rails/spec/reference.rb
oas_rails-0.7.0 lib/oas_rails/spec/reference.rb
oas_rails-0.6.0 lib/oas_rails/spec/reference.rb
oas_rails-0.5.0 lib/oas_rails/spec/reference.rb
oas_rails-0.4.5 lib/oas_rails/spec/reference.rb
oas_rails-0.4.4 lib/oas_rails/spec/reference.rb
oas_rails-0.4.3 lib/oas_rails/spec/reference.rb
oas_rails-0.4.2 lib/oas_rails/spec/reference.rb
oas_rails-0.4.1 lib/oas_rails/spec/reference.rb
oas_rails-0.4.0 lib/oas_rails/spec/reference.rb