Module: Cryptopay::ChannelStatus

Defined in:
lib/cryptopay/models/channel_status.rb

Constant Summary collapse

ENABLED =
'enabled'
DISABLED =
'disabled'

Class Method Summary collapse

Class Method Details

.build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



14
15
16
# File 'lib/cryptopay/models/channel_status.rb', line 14

def self.build_from_hash(value)
  value
end