Class: Rakumarket::ItemSearchClient::PurchaseType

Inherits:
Object
  • Object
show all
Defined in:
lib/rakumarket/client.rb

Class Method Summary collapse

Class Method Details

.parse(value) ⇒ Object



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

def self.parse(value) values[value] end

.valuesObject



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

def self.values; {"normal" => 0, "regular" => 1, "distribution" => 2} end