stamps 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/stamps/mapping.rb +6 -4
- data/lib/stamps/version.rb +1 -1
- metadata +2 -2
data/lib/stamps/mapping.rb
CHANGED
@@ -27,12 +27,12 @@ module Stamps
|
|
27
27
|
property :Username, :from => :username
|
28
28
|
property :Password, :from => :password
|
29
29
|
end
|
30
|
-
|
30
|
+
|
31
31
|
class PostageBalance < Hashie::Trash
|
32
32
|
property :AvailablePostage, :from => :available_postage
|
33
|
-
property :ControlTotal, :from => :control_total
|
33
|
+
property :ControlTotal, :from => :control_total
|
34
34
|
end
|
35
|
-
|
35
|
+
|
36
36
|
class GetPostageStatus < Hashie::Trash
|
37
37
|
property :TransactionID, :from => :transaction_id
|
38
38
|
end
|
@@ -133,6 +133,8 @@ module Stamps
|
|
133
133
|
property :shipmentNotificationCompanyInSubject, :from => :notify_in_subject
|
134
134
|
property :rotationDegrees, :from => :rotation
|
135
135
|
property :printMemo, :from => :print_memo
|
136
|
+
property :nonDeliveryOption, :from => :non_delivery_option
|
137
|
+
property :ReturnImageData, :from => :return_image_data
|
136
138
|
|
137
139
|
# Maps :from to Address map
|
138
140
|
def from=(val)
|
@@ -205,7 +207,7 @@ module Stamps
|
|
205
207
|
property :PurchaseAmount, :from => :amount
|
206
208
|
property :ControlTotal, :from => :control_total
|
207
209
|
end
|
208
|
-
|
210
|
+
|
209
211
|
class GetPurchaseStatus < Hashie::Trash
|
210
212
|
property :Authenticator, :from => :authenticator
|
211
213
|
property :TransactionID, :from => :transaction_id
|
data/lib/stamps/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stamps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-06-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: simplecov
|