Class: Finicity::Resources::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/finicity/resources/base.rb

Direct Known Subclasses

Account, Customer, Institution, Transaction

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(customer_id) ⇒ Base

Returns a new instance of Base.



8
9
10
# File 'lib/finicity/resources/base.rb', line 8

def initialize(customer_id)
  @customer_id = customer_id
end

Instance Attribute Details

#customer_idObject (readonly)

Returns the value of attribute customer_id.



6
7
8
# File 'lib/finicity/resources/base.rb', line 6

def customer_id
  @customer_id
end

Class Method Details

.request(*args) ⇒ Object



12
13
14
# File 'lib/finicity/resources/base.rb', line 12

def self.request(*args)
  ::Finicity::Fetchers::API.request(*args)
end