Sha256: b0d9d3b9cd933aa6e3c6bf03b9cbcf6b912d25e73541a45584f0ff7f9baf99c7
Contents?: true
Size: 1.07 KB
Versions: 14
Compression:
Stored size: 1.07 KB
Contents
module DwollaSwagger # class WebhookAttempt < BaseObject attr_accessor :id, :request, :response # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'id' => :'id', # :'request' => :'request', # :'response' => :'response' } end # attribute type def self.swagger_types { :'id' => :'string', :'request' => :'WebhookHttpRequest', :'response' => :'WebhookHttpResponse' } end def initialize(attributes = {}) return if !attributes.is_a?(Hash) || attributes.empty? # convert string to symbol for hash key attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} if attributes[:'id'] @id = attributes[:'id'] end if attributes[:'request'] @request = attributes[:'request'] end if attributes[:'response'] @response = attributes[:'response'] end end end end
Version data entries
14 entries across 14 versions & 1 rubygems