cameroncox-mousetrap 0.5.3.2 → 0.5.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/mousetrap/plan.rb +4 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.3.
|
1
|
+
0.5.3.3
|
data/lib/mousetrap/plan.rb
CHANGED
@@ -3,7 +3,8 @@ module Mousetrap
|
|
3
3
|
attr_accessor \
|
4
4
|
:code,
|
5
5
|
:name,
|
6
|
-
:items
|
6
|
+
:items,
|
7
|
+
:recurring_charge_amount
|
7
8
|
|
8
9
|
def self.all
|
9
10
|
response = get_resources plural_resource_name
|
@@ -25,7 +26,8 @@ module Mousetrap
|
|
25
26
|
{
|
26
27
|
:code => attributes['code'],
|
27
28
|
:name => attributes['name'],
|
28
|
-
:items => attributes['items']
|
29
|
+
:items => attributes['items'],
|
30
|
+
:recurring_charge_amount => attributes['recurringChargeAmount']
|
29
31
|
}
|
30
32
|
end
|
31
33
|
end
|