Class: Balanced::BankAccountVerification

Inherits:
Object
  • Object
show all
Includes:
HypermediaRegistry, Resource
Defined in:
lib/balanced/resources/bank_account.rb

Instance Attribute Summary

Attributes included from Resource

#attributes, #href, #hyperlinks, #id, #links

Instance Method Summary collapse

Methods included from HypermediaRegistry

included

Methods included from Resource

#copy_from, #does_resource_respond_to?, #fetch, #hydrate, included, #initialize, #method_missing, #reload, #respond_to?, #respond_to_missing?, #sanitize, #save, #unstore

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Balanced::Resource

Instance Method Details

#confirm(amount_1, amount_2) ⇒ Object



54
55
56
57
58
# File 'lib/balanced/resources/bank_account.rb', line 54

def confirm(amount_1, amount_2)
  self.amount_1 = amount_1
  self.amount_2 = amount_2
  save
end