class OpenApi::Callback
github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#callback-object
Attributes
hash[RW]
Public Class Methods
load(hash)
click to toggle source
# File lib/open_api/callback.rb, line 12 def self.load(hash) return unless hash new(hash.symbolize_keys) end
new(hash = {})
click to toggle source
# File lib/open_api/callback.rb, line 6 def initialize(hash = {}) self.hash = hash.with_indifferent_access end