Sha256: 5ebdc69f9b098a1c5843077ad3c7f79aa64e5f43279046ea6158a5157f7d9489
Contents?: true
Size: 863 Bytes
Versions: 10
Compression:
Stored size: 863 Bytes
Contents
module DwollaSwagger # class HalLink < BaseObject attr_accessor :href, :name # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'href' => :'href', # :'name' => :'name' } end # attribute type def self.swagger_types { :'href' => :'string', :'name' => :'string' } 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[:'href'] @href = attributes[:'href'] end if attributes[:'name'] @name = attributes[:'name'] end end end end
Version data entries
10 entries across 10 versions & 1 rubygems