Patches: Browse | Submit New | Admin

[#21724] Added url field to the Invoice.get

Date:
2008-08-29 11:37
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Added url field to the Invoice.get

Detailed description
Freshbooks returs url field on the Invoice.get request. But lib does not parse it. 

Attached patch resolves this issue.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-08-29 11:38
Sender: Timur Vafin

Ops, here it is

diff --git a/vendor/gems/freshbooks-2.2.1/lib/freshbooks.rb
b/vendor/gems/freshbooks-2.2.1/lib/freshbooks.rb
index a066dc2..ae81520 100644
--- a/vendor/gems/freshbooks-2.2.1/lib/freshbooks.rb
+++ b/vendor/gems/freshbooks-2.2.1/lib/freshbooks.rb
@@ -260,7 +260,7 @@ module FreshBooks

   Invoice = BaseObject.new(:invoice_id, :client_id, :date,
:po_number,
   :terms, :first_name, :last_name, :organization, :p_street1,
:p_street2, :p_city,
-  :p_state, :p_country, :p_code, :amount, :lines, :discount,
:status, :notes)
+  :p_state, :p_country, :p_code, :amount, :lines, :discount,
:status, :notes, :url)


   class Invoice


Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item