Class: MoneyMover::Dwolla::CustomerFundingSource

Inherits:
ApiResource
  • Object
show all
Defined in:
lib/money_mover/dwolla/models/customer_funding_source.rb

Instance Attribute Summary collapse

Attributes inherited from ApiResource

#_embedded, #_links, #attrs, #id, #resource_location

Instance Method Summary collapse

Methods inherited from ApiResource

#destroy, fetch, #save

Constructor Details

#initialize(customer_id, attrs = {}) ⇒ CustomerFundingSource

Returns a new instance of CustomerFundingSource.



9
10
11
12
# File 'lib/money_mover/dwolla/models/customer_funding_source.rb', line 9

def initialize(customer_id, attrs={})
  @customer_id = customer_id
  super attrs
end

Instance Attribute Details

#accountNumberObject

Returns the value of attribute accountNumber.



4
5
6
# File 'lib/money_mover/dwolla/models/customer_funding_source.rb', line 4

def accountNumber
  @accountNumber
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/money_mover/dwolla/models/customer_funding_source.rb', line 4

def name
  @name
end

#routingNumberObject

Returns the value of attribute routingNumber.



4
5
6
# File 'lib/money_mover/dwolla/models/customer_funding_source.rb', line 4

def routingNumber
  @routingNumber
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/money_mover/dwolla/models/customer_funding_source.rb', line 4

def type
  @type
end