Class: Bitodeme::Resource::Currency
- Defined in:
- lib/bitodeme/resources/currency.rb
Overview
Currency resource
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Short code and unique identifier.
-
#created_at ⇒ Object
readonly
When it is created.
-
#current_status ⇒ Object
readonly
Current status.
-
#deposit_fee ⇒ Object
readonly
Deposit fee.
-
#depositable ⇒ Object
readonly
Is it depositable?.
-
#exchangeable ⇒ Object
readonly
Is it open for exchange?.
-
#min_depositable_amount ⇒ Object
readonly
Minimum depositable amount.
-
#min_withdrawable_amount ⇒ Object
readonly
Minimum withdrawable amount.
-
#name ⇒ Object
readonly
Full name.
-
#updated_at ⇒ Object
readonly
Last updated at.
-
#withdraw_fee ⇒ Object
readonly
Withdraw fee.
-
#withdrawable ⇒ Object
readonly
Is it withdrawable?.
Class Method Summary collapse
-
.all(options = {}) ⇒ Object
List all currencies.
Methods inherited from Base
Instance Attribute Details
#code ⇒ Object (readonly)
Short code and unique identifier
8 9 10 |
# File 'lib/bitodeme/resources/currency.rb', line 8 def code @code end |
#created_at ⇒ Object (readonly)
When it is created
11 12 13 |
# File 'lib/bitodeme/resources/currency.rb', line 11 def created_at @created_at end |
#current_status ⇒ Object (readonly)
Current status
14 15 16 |
# File 'lib/bitodeme/resources/currency.rb', line 14 def current_status @current_status end |
#deposit_fee ⇒ Object (readonly)
Deposit fee
17 18 19 |
# File 'lib/bitodeme/resources/currency.rb', line 17 def deposit_fee @deposit_fee end |
#depositable ⇒ Object (readonly)
Is it depositable?
20 21 22 |
# File 'lib/bitodeme/resources/currency.rb', line 20 def depositable @depositable end |
#exchangeable ⇒ Object (readonly)
Is it open for exchange?
23 24 25 |
# File 'lib/bitodeme/resources/currency.rb', line 23 def exchangeable @exchangeable end |
#min_depositable_amount ⇒ Object (readonly)
Minimum depositable amount
26 27 28 |
# File 'lib/bitodeme/resources/currency.rb', line 26 def min_depositable_amount @min_depositable_amount end |
#min_withdrawable_amount ⇒ Object (readonly)
Minimum withdrawable amount
29 30 31 |
# File 'lib/bitodeme/resources/currency.rb', line 29 def min_withdrawable_amount @min_withdrawable_amount end |
#name ⇒ Object (readonly)
Full name
32 33 34 |
# File 'lib/bitodeme/resources/currency.rb', line 32 def name @name end |
#updated_at ⇒ Object (readonly)
Last updated at
35 36 37 |
# File 'lib/bitodeme/resources/currency.rb', line 35 def updated_at @updated_at end |
#withdraw_fee ⇒ Object (readonly)
Withdraw fee
38 39 40 |
# File 'lib/bitodeme/resources/currency.rb', line 38 def withdraw_fee @withdraw_fee end |
#withdrawable ⇒ Object (readonly)
Is it withdrawable?
41 42 43 |
# File 'lib/bitodeme/resources/currency.rb', line 41 def withdrawable @withdrawable end |
Class Method Details
.all(options = {}) ⇒ Object
List all currencies
Arguments:
options: (Hash)
48 49 50 |
# File 'lib/bitodeme/resources/currency.rb', line 48 def all( = {}) _all('currencies', ) end |