magentor 0.2.5 → 0.2.6
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.
- data/VERSION +1 -1
- data/lib/magento/order.rb +8 -0
- data/magentor.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.6
|
data/lib/magento/order.rb
CHANGED
|
@@ -111,5 +111,13 @@ module Magento
|
|
|
111
111
|
OrderItem.new(item)
|
|
112
112
|
end
|
|
113
113
|
end
|
|
114
|
+
|
|
115
|
+
def shipping_address
|
|
116
|
+
CustomerAddress.new(@attributes[:shipping_address])
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
def billing_address
|
|
120
|
+
CustomerAddress.new(@attributes[:billing_address])
|
|
121
|
+
end
|
|
114
122
|
end
|
|
115
123
|
end
|
data/magentor.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: magentor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 6
|
|
10
|
+
version: 0.2.6
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Preston Stuteville
|