module PixiClient::Requests::Itemable
Public Instance Methods
message()
click to toggle source
# File lib/pixi_client/requests/itemable.rb, line 5 def message { item_id_key_to_param => item_id } end
Private Instance Methods
item_id_key_to_param()
click to toggle source
# File lib/pixi_client/requests/itemable.rb, line 11 def item_id_key_to_param case item_id_key when :ean then 'EAN' when :eanupc then 'EANUPC' when :item_key then 'ItemKey' when :item_nr_int then 'ItemNrInt' when :item_nr_suppl then 'ItemNrSuppl' else fail('Not recognized item id key') end end