Class: Balanced::Verification

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

Instance Attribute Summary

Attributes included from Resource

#attributes

Instance Method Summary collapse

Methods included from Resource

#copy_from, #destroy, #find, included, #initialize, #method_missing, #reload, #save, #warn_on_positional

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



102
103
104
105
106
# File 'lib/balanced/resources/bank_account.rb', line 102

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