Class: Rakumarket::TrueToOne
- Inherits:
-
Object
- Object
- Rakumarket::TrueToOne
- Defined in:
- lib/rakumarket/client.rb
Class Method Summary collapse
Class Method Details
.parse(value) ⇒ Object
43 |
# File 'lib/rakumarket/client.rb', line 43 def self.parse(value) value ? "1" : "0" end |
.values ⇒ Object
42 |
# File 'lib/rakumarket/client.rb', line 42 def self.values; {true => "1", false => "0"} end |