Class: Cryptoexchange::Models::Bilaxy::MarketPair
- Inherits:
-
MarketPair
- Object
- MarketPair
- Cryptoexchange::Models::Bilaxy::MarketPair
- Defined in:
- lib/cryptoexchange/exchanges/bilaxy/market.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Attributes inherited from MarketPair
#base, #base_raw, #inst_id, #market, #target, #target_raw
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ MarketPair
constructor
A new instance of MarketPair.
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
#id ⇒ Object
Returns the value of attribute id.
15 16 17 |
# File 'lib/cryptoexchange/exchanges/bilaxy/market.rb', line 15 def id @id end |