Class: Frame::BankAccount

Inherits:
APIResource show all
Extended by:
APIOperations::Create
Defined in:
lib/frame/resources/bank_account.rb

Constant Summary collapse

OBJECT_NAME =
"bank_account"

Instance Attribute Summary

Attributes inherited from FrameObject

#id, #original_values

Class Method Summary collapse

Methods included from APIOperations::Create

create

Methods inherited from APIResource

class_name, #refresh, resource_url, #resource_url, retrieve

Methods included from APIOperations::Request

included

Methods inherited from FrameObject

#[], #[]=, construct_from, #each, #initialize, #initialize_from, #inspect, #keys, #serialize_params, #to_hash, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Frame::FrameObject

Class Method Details

.create(params = {}, opts = {}) ⇒ Object



13
14
15
# File 'lib/frame/resources/bank_account.rb', line 13

def self.create(params = {}, opts = {})
  request_object(:post, "/v1/bank_accounts", params, opts)
end

.object_nameObject



9
10
11
# File 'lib/frame/resources/bank_account.rb', line 9

def self.object_name
  OBJECT_NAME
end