Class: Komoju::Installments
- Inherits:
-
Object
- Object
- Komoju::Installments
- Defined in:
- lib/komoju-sdk/models/installments.rb
Constant Summary collapse
- N3 =
"3".freeze
- N5 =
"5".freeze
- N6 =
"6".freeze
- N10 =
"10".freeze
- N12 =
"12".freeze
- N15 =
"15".freeze
- N18 =
"18".freeze
- N20 =
"20".freeze
- N24 =
"24".freeze
- REVOLVING =
"revolving".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
29 30 31 |
# File 'lib/komoju-sdk/models/installments.rb', line 29 def self.all_vars @all_vars ||= [N3, N5, N6, N10, N12, N15, N18, N20, N24, REVOLVING].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
36 37 38 |
# File 'lib/komoju-sdk/models/installments.rb', line 36 def self.build_from_hash(value) new.build_from_hash(value) end |
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
43 44 45 |
# File 'lib/komoju-sdk/models/installments.rb', line 43 def build_from_hash(value) value end |