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