ruby_omx 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,11 @@
|
|
1
1
|
module RubyOmx
|
2
|
+
|
3
|
+
class ItemInfoCustomItemAttribute < Response
|
4
|
+
xml_name "Attribute"
|
5
|
+
xml_reader :attribute_id, :from => '@attributeID'
|
6
|
+
xml_reader :name, :from => '@name'
|
7
|
+
xml_reader :value, :from => :content
|
8
|
+
end
|
2
9
|
|
3
10
|
class ItemInformationResponse < Response
|
4
11
|
xml_name "ItemInformationResponse"
|
@@ -24,7 +31,7 @@ module RubyOmx
|
|
24
31
|
xml_reader :price_addl_sh, :from => 'AdditionalSH', :in => 'Item/PriceData/Price', :as => Float
|
25
32
|
xml_reader :price_bonus, :from => 'Bonus', :in => 'Item/PriceData/Price', :as => Float
|
26
33
|
|
27
|
-
xml_reader :custom_attributes, :as => [
|
34
|
+
xml_reader :custom_attributes, :as => [ItemInfoCustomItemAttribute], :in => 'Item/CustomItemAttribute'
|
28
35
|
end
|
29
36
|
|
30
37
|
end
|
data/lib/ruby_omx/version.rb
CHANGED