Module: Cryptopay::SubscriptionPeriod

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

Constant Summary collapse

DAY =
'day'
WEEK =
'week'
MONTH =
'month'
YEAR =
'year'

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



16
17
18
# File 'lib/cryptopay/models/subscription_period.rb', line 16

def self.build_from_hash(value)
  value
end