Class: Patreon::Address

Inherits:
Object
  • Object
show all
Defined in:
lib/patreon/objects/address.rb

Constant Summary collapse

DEFAULT_FIELDS =
"addressee,city,country,created_at,line_1,line_2,phone_number,postal_code,state"

Instance Method Summary collapse

Methods inherited from Object

#to_ostruct

Constructor Details

#initialize(options = {}) ⇒ Address

Returns a new instance of Address.



6
7
8
9
10
# File 'lib/patreon/objects/address.rb', line 6

def initialize(options = {})
  super options

  self.id = options["id"] if options["id"]
end