Class: ActiveMerchant::Billing::StripeGateway::BankAccount

Inherits:
Object
  • Object
show all
Defined in:
lib/stripe/ext/active_merchant/active_merchant.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ BankAccount

Returns a new instance of BankAccount.



176
177
178
179
180
# File 'lib/stripe/ext/active_merchant/active_merchant.rb', line 176

def initialize(args)
  args.each do |k,v|
    instance_variable_set("@#{k}", v) unless v.nil?
  end
end

Instance Attribute Details

#account_numberObject

Returns the value of attribute account_number.



174
175
176
# File 'lib/stripe/ext/active_merchant/active_merchant.rb', line 174

def 
  @account_number
end

#bank_nameObject

Returns the value of attribute bank_name.



174
175
176
# File 'lib/stripe/ext/active_merchant/active_merchant.rb', line 174

def bank_name
  @bank_name
end

#routing_numberObject

Returns the value of attribute routing_number.



174
175
176
# File 'lib/stripe/ext/active_merchant/active_merchant.rb', line 174

def routing_number
  @routing_number
end

#typeObject

Returns the value of attribute type.



174
175
176
# File 'lib/stripe/ext/active_merchant/active_merchant.rb', line 174

def type
  @type
end