Class: Coinbase::Client::Feature
- Inherits:
-
Object
- Object
- Coinbase::Client::Feature
- Defined in:
- lib/coinbase/client/models/feature.rb
Constant Summary collapse
- TRANSFER =
"transfer".freeze
- TRADE =
"trade".freeze
- FAUCET =
"faucet".freeze
- SERVER_SIGNER =
"server_signer".freeze
- UNKNOWN_DEFAULT_OPEN_API =
"unknown_default_open_api".freeze
Class Method Summary collapse
- .all_vars ⇒ Object
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Class Method Details
.all_vars ⇒ Object
24 25 26 |
# File 'lib/coinbase/client/models/feature.rb', line 24 def self.all_vars @all_vars ||= [TRANSFER, TRADE, FAUCET, SERVER_SIGNER, UNKNOWN_DEFAULT_OPEN_API].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
31 32 33 |
# File 'lib/coinbase/client/models/feature.rb', line 31 def self.build_from_hash(value) new.build_from_hash(value) end |