class Bitodeme::Resource::Currency
Currency
resource
Attributes
code[R]
Short code and unique identifier
created_at[R]
When it is created
current_status[R]
Current status
deposit_fee[R]
Deposit
fee
depositable[R]
Is it depositable?
exchangeable[R]
Is it open for exchange?
min_depositable_amount[R]
Minimum depositable amount
min_withdrawable_amount[R]
Minimum withdrawable amount
name[R]
Full name
updated_at[R]
Last updated at
withdraw_fee[R]
Withdraw fee
withdrawable[R]
Is it withdrawable?
Public Class Methods
all(options = {})
click to toggle source
List all currencies
Arguments:
options: (Hash)
# File lib/bitodeme/resources/currency.rb, line 48 def all(options = {}) _all('currencies', options) end
new(params)
click to toggle source
Calls superclass method
Bitodeme::Resource::Base::new
# File lib/bitodeme/resources/currency.rb, line 61 def initialize(params) super(attrs: attrs, params: params) end
Private Class Methods
conn()
click to toggle source
# File lib/bitodeme/resources/currency.rb, line 54 def conn Bitodeme::UnauthorizedConn.build end
new(attrs:, params:)
click to toggle source
# File lib/bitodeme/resources/base.rb, line 54 def initialize(attrs:, params:) attrs.each do |attr| val = params.fetch(attr.to_s, params.fetch(attr, nil)) instance_variable_set("@#{attr}", val) end end