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 +1 -1
- data/lib/freshbooks/invoice.rb +2 -1
- data/lib/freshbooks/line.rb +1 -1
- metadata +1 -1
data/lib/freshbooks.rb
CHANGED
@@ -60,7 +60,7 @@ require 'logger'
|
|
60
60
|
#
|
61
61
|
#==============================================================================
|
62
62
|
module FreshBooks
|
63
|
-
VERSION = '3.0.
|
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
|
|
data/lib/freshbooks/invoice.rb
CHANGED
@@ -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, :
|
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
|
data/lib/freshbooks/line.rb
CHANGED