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.
Files changed (2) hide show
  1. data/lib/mousetrap/subscription.rb +1 -1
  2. 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'],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cameroncox-mousetrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3.8
4
+ version: 0.5.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Larkowski