Sha256: 4f8e63b1b6d879003b1b7e7c3f7b1ee25e2ae591ce2b63a8e0636ec941169a52

Contents?: true

Size: 400 Bytes

Versions: 42

Compression:

Stored size: 400 Bytes

Contents

module OasParser
  class Callback < Payload
    include OasParser::RawAccessor
    raw_keys :description, :content

    attr_accessor :endpoint, :name, :raw

    def initialize(endpoint, name, raw)
      @endpoint = endpoint
      @name = name
      @raw = raw
    end

    def paths
      raw.map do |path, definition|
        OasParser::Path.new(self, path, definition)
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 2 rubygems

Version Path
oas_parser_reborn-0.25.5 lib/oas_parser_reborn/callback.rb
oas_parser-0.25.4 lib/oas_parser/callback.rb
oas_parser-0.25.3 lib/oas_parser/callback.rb
oas_parser-0.25.1 lib/oas_parser/callback.rb
oas_parser-0.25.0 lib/oas_parser/callback.rb
oas_parser-0.24.0 lib/oas_parser/callback.rb
oas_parser-0.23.0 lib/oas_parser/callback.rb
oas_parser-0.22.4 lib/oas_parser/callback.rb
oas_parser-0.22.2 lib/oas_parser/callback.rb
oas_parser-0.22.1 lib/oas_parser/callback.rb
oas_parser-0.22.0 lib/oas_parser/callback.rb
oas_parser-0.21.1 lib/oas_parser/callback.rb
oas_parser-0.21.0 lib/oas_parser/callback.rb
oas_parser-0.20.0 lib/oas_parser/callback.rb
oas_parser-0.19.0 lib/oas_parser/callback.rb
oas_parser-0.18.2 lib/oas_parser/callback.rb
oas_parser-0.18.1 lib/oas_parser/callback.rb
oas_parser-0.18.0 lib/oas_parser/callback.rb
oas_parser-0.17.0 lib/oas_parser/callback.rb
oas_parser-0.16.0 lib/oas_parser/callback.rb