freshbooks.rb 3.0.13 → 3.0.14

Sign up to get free protection for your applications and to get access to all the features.
data/lib/freshbooks.rb CHANGED
@@ -60,7 +60,7 @@ require 'logger'
60
60
  #
61
61
  #==============================================================================
62
62
  module FreshBooks
63
- VERSION = '3.0.13' # Gem version
63
+ VERSION = '3.0.14' # Gem version
64
64
  API_VERSION = '2.1' # FreshBooks API version
65
65
  SERVICE_URL = "/api/#{API_VERSION}/xml-in"
66
66
 
@@ -3,7 +3,8 @@ module FreshBooks
3
3
  define_schema do |s|
4
4
  s.fixnum :invoice_id, :client_id, :po_number
5
5
  s.fixnum :recurring_id, :read_only => true
6
- s.float :amount, :amount_outstanding, :discount, :paid
6
+ s.float :amount, :discount
7
+ s.float :amount_outstanding, :paid, :read_only => true
7
8
  s.date :date
8
9
  s.date_time :updated
9
10
  s.array :lines
@@ -4,7 +4,7 @@ module FreshBooks
4
4
  s.string :name, :description, :tax1_name, :tax2_name
5
5
  s.float :unit_cost, :tax1_percent, :tax2_percent
6
6
  s.float :amount, :read_only => true
7
- s.fixnum :quantity
7
+ s.float :quantity
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freshbooks.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.13
4
+ version: 3.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Curren