cameroncox-mousetrap 0.5.3.8 → 0.5.3.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mousetrap/subscription.rb +1 -1
- metadata +1 -1
@@ -53,7 +53,7 @@ module Mousetrap
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def current_invoice
|
56
|
-
invoice_record = if invoices.kind_of?(Array)
|
56
|
+
invoice_record = if invoices['invoice'].kind_of?(Array)
|
57
57
|
Invoice.new({
|
58
58
|
:id => invoices['invoice']['0']['id'],
|
59
59
|
:number => invoices['invoice']['0']['number'],
|