class OasParser::Callback
Attributes
endpoint[RW]
name[RW]
raw[RW]
Public Class Methods
new(endpoint, name, raw)
click to toggle source
# File lib/oas_parser/callback.rb, line 8 def initialize(endpoint, name, raw) @endpoint = endpoint @name = name @raw = raw end
Public Instance Methods
paths()
click to toggle source
# File lib/oas_parser/callback.rb, line 14 def paths raw.map do |path, definition| OasParser::Path.new(self, path, definition) end end