Class: Cryptoexchange::Models::Bilaxy::MarketPair

Inherits:
MarketPair
  • Object
show all
Defined in:
lib/cryptoexchange/exchanges/bilaxy/market.rb

Instance Attribute Summary collapse

Attributes inherited from MarketPair

#base, #base_raw, #inst_id, #market, #target, #target_raw

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ MarketPair

Returns a new instance of MarketPair.



17
18
19
20
# File 'lib/cryptoexchange/exchanges/bilaxy/market.rb', line 17

def initialize(params = {})
  super
  @id = params[:id]
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



15
16
17
# File 'lib/cryptoexchange/exchanges/bilaxy/market.rb', line 15

def id
  @id
end