Class: Stellae::Inventory

Inherits:
Request
  • Object
show all
Defined in:
lib/stellae/inventory.rb

Constant Summary

Constants inherited from Request

Request::SCHEMA

Instance Method Summary collapse

Methods inherited from Request

#build_header, #build_user, #construct_xml, #initialize

Constructor Details

This class inherits a constructor from Stellae::Request

Instance Method Details

#build_inventory_requestObject



4
5
6
7
8
# File 'lib/stellae/inventory.rb', line 4

def build_inventory_request
  construct_xml "get_inventory_on_hand" do |xml|
    xml.upcs :"xmlns:b" => SCHEMA[:datacontract], :"xmlns:i" => SCHEMA[:instance]
  end
end