class MoneyMover::Dwolla::CustomerFundingSource
Attributes
accountNumber[RW]
name[RW]
routingNumber[RW]
type[RW]
Public Class Methods
new(customer_id, attrs={})
click to toggle source
Calls superclass method
MoneyMover::Dwolla::ApiResource::new
# File lib/money_mover/dwolla/models/customer_funding_source.rb, line 9 def initialize(customer_id, attrs={}) @customer_id = customer_id super attrs end
Private Instance Methods
create_endpoint()
click to toggle source
# File lib/money_mover/dwolla/models/customer_funding_source.rb, line 16 def create_endpoint "/customers/#{@customer_id}/funding-sources" end
create_params()
click to toggle source
# File lib/money_mover/dwolla/models/customer_funding_source.rb, line 20 def create_params { name: name, type: type, routingNumber: routingNumber, accountNumber: accountNumber } end