cameroncox-mousetrap 0.5.3.9 → 0.5.3.10

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 +4 -4
  2. metadata +1 -1
@@ -55,10 +55,10 @@ module Mousetrap
55
55
  def current_invoice
56
56
  invoice_record = if invoices['invoice'].kind_of?(Array)
57
57
  Invoice.new({
58
- :id => invoices['invoice']['0']['id'],
59
- :number => invoices['invoice']['0']['number'],
60
- :created_at => invoices['invoice']['0']['createdDatetime'],
61
- :billing_date => invoices['invoice']['0']['billingDatetime']
58
+ :id => invoices['invoice'][0]['id'],
59
+ :number => invoices['invoice'][0]['number'],
60
+ :created_at => invoices['invoice'][0]['createdDatetime'],
61
+ :billing_date => invoices['invoice'][0]['billingDatetime']
62
62
  })
63
63
  else
64
64
  Invoice.new({
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.9
4
+ version: 0.5.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Larkowski