Class: Modulr::Resources::Payments::Details::Incoming::Internal

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

Instance Attribute Summary collapse

Attributes inherited from Base

#response

Instance Method Summary collapse

Methods inherited from Base

map

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

#destinationObject (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