Class: Bitodeme::Resource::FundAddress
- Defined in:
- lib/bitodeme/resources/fund_address.rb
Overview
FundAddress resource
Instance Attribute Summary collapse
-
#account_id ⇒ Object
readonly
Account identifier.
-
#address ⇒ Object
readonly
Address (like Bank IBAN, or BTC address).
-
#created_at ⇒ Object
readonly
Created at in milliseconds.
-
#currency_code ⇒ Object
readonly
Currency code.
-
#current_status ⇒ Object
readonly
Current status.
-
#fund_id ⇒ Object
readonly
Fund id.
-
#id ⇒ Object
readonly
Unique identifier.
-
#is_temporary ⇒ Object
readonly
Is it a temporary address?.
-
#updated_at ⇒ Object
readonly
Updated at in milliseconds.
Class Method Summary collapse
-
.all(options = {}) ⇒ Object
List all fund addresses.
-
.find(id) ⇒ Object
Find a fund address.
Methods inherited from Base
Instance Attribute Details
#account_id ⇒ Object (readonly)
Account identifier
8 9 10 |
# File 'lib/bitodeme/resources/fund_address.rb', line 8 def account_id @account_id end |
#address ⇒ Object (readonly)
Address (like Bank IBAN, or BTC address)
11 12 13 |
# File 'lib/bitodeme/resources/fund_address.rb', line 11 def address @address end |
#created_at ⇒ Object (readonly)
Created at in milliseconds
14 15 16 |
# File 'lib/bitodeme/resources/fund_address.rb', line 14 def created_at @created_at end |
#currency_code ⇒ Object (readonly)
Currency code
17 18 19 |
# File 'lib/bitodeme/resources/fund_address.rb', line 17 def currency_code @currency_code end |
#current_status ⇒ Object (readonly)
Current status
20 21 22 |
# File 'lib/bitodeme/resources/fund_address.rb', line 20 def current_status @current_status end |
#fund_id ⇒ Object (readonly)
Fund id
23 24 25 |
# File 'lib/bitodeme/resources/fund_address.rb', line 23 def fund_id @fund_id end |
#id ⇒ Object (readonly)
Unique identifier
26 27 28 |
# File 'lib/bitodeme/resources/fund_address.rb', line 26 def id @id end |
#is_temporary ⇒ Object (readonly)
Is it a temporary address?
29 30 31 |
# File 'lib/bitodeme/resources/fund_address.rb', line 29 def is_temporary @is_temporary end |
#updated_at ⇒ Object (readonly)
Updated at in milliseconds
32 33 34 |
# File 'lib/bitodeme/resources/fund_address.rb', line 32 def updated_at @updated_at end |
Class Method Details
.all(options = {}) ⇒ Object
List all fund addresses
Arguments:
options: (Hash)
47 48 49 |
# File 'lib/bitodeme/resources/fund_address.rb', line 47 def all( = {}) _all('fund_addresses', ) end |
.find(id) ⇒ Object
Find a fund address
Arguments:
id: (UUID)
39 40 41 |
# File 'lib/bitodeme/resources/fund_address.rb', line 39 def find(id) _find('fund_addresses', 'fund_address', id) end |