Class: Rakumarket::TrueToZero

Inherits:
Object
  • Object
show all
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

.valuesObject



47
# File 'lib/rakumarket/client.rb', line 47

def self.values; {true => "0", false => "1"} end