Class: Zoop::BankAccount

Inherits:
PaymentMethodCommon show all
Defined in:
lib/zoop/resources/bank_account.rb

Constant Summary

Constants inherited from ZoopObject

ZoopObject::RESOURCES

Instance Attribute Summary

Attributes inherited from ZoopObject

#attributes

Instance Method Summary collapse

Methods inherited from PaymentMethodCommon

#associate, #create

Methods inherited from Model

class_name, #create, create, #destroy, find_by_id, #save, underscored_class_name, #update, url, #url

Methods inherited from ZoopObject

#==, #[]=, convert, #empty?, #initialize, #respond_to?, #to_hash, #to_s, #unsaved_attributes

Constructor Details

This class inherits a constructor from Zoop::ZoopObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Zoop::ZoopObject

Instance Method Details

#transfer(params = {}) ⇒ Object



3
4
5
# File 'lib/zoop/resources/bank_account.rb', line 3

def transfer(params={})
  Zoop::Request.post(url('transfers'), params: params).call
end