Class: Modulr::Resources::Payments::Details::Incoming::Internal
- Defined in:
- lib/modulr/resources/payments/details/incoming/internal.rb
Instance Attribute Summary collapse
-
#destination ⇒ Object
readonly
Returns the value of attribute destination.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(response, attributes = {}) ⇒ Internal
constructor
A new instance of Internal.
Methods inherited from Base
Constructor Details
#initialize(response, attributes = {}) ⇒ Internal
Returns a new instance of Internal.
16 17 18 19 20 |
# File 'lib/modulr/resources/payments/details/incoming/internal.rb', line 16 def initialize(response, attributes = {}) super(response, attributes) @destination = Destination.new(nil, attributes[:destination]) end |
Instance Attribute Details
#destination ⇒ Object (readonly)
Returns the value of attribute destination.
9 10 11 |
# File 'lib/modulr/resources/payments/details/incoming/internal.rb', line 9 def destination @destination end |