Class: Modulr::Resources::Payments::Destination
- Defined in:
- lib/modulr/resources/payments/destination.rb
Instance Attribute Summary collapse
-
#identifier ⇒ Object
readonly
Returns the value of attribute identifier.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(response, attributes = {}) ⇒ Destination
constructor
A new instance of Destination.
Methods inherited from Base
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
#identifier ⇒ Object (readonly)
Returns the value of attribute identifier.
7 8 9 |
# File 'lib/modulr/resources/payments/destination.rb', line 7 def identifier @identifier end |