ruby_omx 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
#$wtf = "https://api.omx.ordermotion.com/hdde/xml/udi.asp?Wrapper=1&RequestType=OrderInformationRequest&RequestVersion=1.00&HTTPBizID=".BIZ_ID."&OrderNumber=".$OMorderid."&level=$level";
|
|
2
2
|
module RubyOmx
|
|
3
3
|
|
|
4
|
-
class UDIParameter < Response
|
|
5
|
-
xml_name "Parameter"
|
|
6
|
-
xml_accessor :key, :from => '@key'
|
|
7
|
-
xml_accessor :value, :from => :content
|
|
8
|
-
end
|
|
9
|
-
|
|
10
4
|
class OrderInformationRequest < Response
|
|
11
5
|
def initialize(a=nil)
|
|
12
6
|
return super unless a.present? # bail if no array of options has been given
|
data/lib/ruby_omx/response.rb
CHANGED
data/lib/ruby_omx/version.rb
CHANGED