ruby_omx 0.0.6 → 0.0.7

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,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 => [RubyOmx::CustomItemAttribute], :in => 'Item/CustomItemAttribute'
34
+ xml_reader :custom_attributes, :as => [ItemInfoCustomItemAttribute], :in => 'Item/CustomItemAttribute'
28
35
  end
29
36
 
30
37
  end
@@ -1,3 +1,3 @@
1
1
  module RubyOmx
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_omx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: