Class: PAYJPv2::Currency
- Inherits:
-
Object
- Object
- PAYJPv2::Currency
- Defined in:
- lib/payjpv2/models/currency.rb
Constant Summary collapse
- JPY =
"jpy".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
20 21 22 |
# File 'lib/payjpv2/models/currency.rb', line 20 def self.all_vars @all_vars ||= [JPY].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
27 28 29 |
# File 'lib/payjpv2/models/currency.rb', line 27 def self.build_from_hash(value) new.build_from_hash(value) end |