Sha256: 8f7c8ec522357b7912a8b62e04327057da68e9ac93fb9573c683527296200f34
Contents?: true
Size: 972 Bytes
Versions: 6
Compression:
Stored size: 972 Bytes
Contents
module DwollaSwagger # class FacilitatorFeeRequest < BaseObject attr_accessor :_links, :amount # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'_links' => :'_links', # :'amount' => :'amount' } end # attribute type def self.swagger_types { :'_links' => :'map[string,HalLink]', :'amount' => :'Amount' } 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[:'_links'] if (value = attributes[:'_links']).is_a?(Array) @_links = value end end if attributes[:'amount'] @amount = attributes[:'amount'] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems