Class: Modulr::Resources::Payments::Destination

Inherits:
Base
  • Object
show all
Defined in:
lib/modulr/resources/payments/destination.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#response

Instance Method Summary collapse

Methods inherited from Base

map

Constructor Details

#initialize(response, attributes = {}) ⇒ Destination

Returns a new instance of Destination.



12
13
14
15
16
# File 'lib/modulr/resources/payments/destination.rb', line 12

def initialize(response, attributes = {})
  super(response, attributes)

  @identifier = Accounts::Identifier.new(nil, attributes)
end

Instance Attribute Details

#identifierObject (readonly)

Returns the value of attribute identifier.



7
8
9
# File 'lib/modulr/resources/payments/destination.rb', line 7

def identifier
  @identifier
end