-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0340210
commit 7374914
Showing
38 changed files
with
513 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class CustomField < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'custom_field' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class CustomerChasingCadence < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'customer_chasing_cadence' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class EmailTemplate < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'email_template' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class GlAccount < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'gl_account' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module Invoiced | ||
class Inbox < Object | ||
include Invoiced::Operations::List | ||
|
||
OBJECT_NAME = 'inbox' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class InvoiceChasingCadence < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'invoice_chasing_cadence' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class LateFeeSchedule < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'late_fee_schedule' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class Member < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'member' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class MerchantAccount < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'merchant_account' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module Invoiced | ||
class PaymentMethod < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Update | ||
|
||
OBJECT_NAME = 'payment_method' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class PdfTemplate < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'pdf_template' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module Invoiced | ||
class Report < Object | ||
include Invoiced::Operations::Create | ||
|
||
OBJECT_NAME = 'report' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class Role < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'role' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class SignUpPage < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'sign_up_page' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class SmsTemplate < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'sms_template' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class TaxRule < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'tax_rule' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class Theme < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'theme' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Invoiced | ||
class Webhook < Object | ||
include Invoiced::Operations::List | ||
include Invoiced::Operations::Create | ||
include Invoiced::Operations::Update | ||
include Invoiced::Operations::Delete | ||
|
||
OBJECT_NAME = 'webhook' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
require File.expand_path('../../test_helper', __FILE__) | ||
|
||
module Invoiced | ||
class CustomFieldTest < Test::Unit::TestCase | ||
include Invoiced::Operations::EndpointTest | ||
include Invoiced::Operations::CreateTest | ||
include Invoiced::Operations::RetrieveTest | ||
include Invoiced::Operations::UpdateTest | ||
include Invoiced::Operations::DeleteTest | ||
include Invoiced::Operations::ListTest | ||
|
||
setup do | ||
@objectClass = CustomField | ||
@endpoint = '/custom_fields' | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
require File.expand_path('../../test_helper', __FILE__) | ||
|
||
module Invoiced | ||
class CustomerChasingCadenceTest < Test::Unit::TestCase | ||
include Invoiced::Operations::EndpointTest | ||
include Invoiced::Operations::CreateTest | ||
include Invoiced::Operations::RetrieveTest | ||
include Invoiced::Operations::UpdateTest | ||
include Invoiced::Operations::DeleteTest | ||
include Invoiced::Operations::ListTest | ||
|
||
setup do | ||
@objectClass = CustomerChasingCadence | ||
@endpoint = '/customer_chasing_cadences' | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
require File.expand_path('../../test_helper', __FILE__) | ||
|
||
module Invoiced | ||
class EmailTemplateTest < Test::Unit::TestCase | ||
include Invoiced::Operations::EndpointTest | ||
include Invoiced::Operations::CreateTest | ||
include Invoiced::Operations::RetrieveTest | ||
include Invoiced::Operations::UpdateTest | ||
include Invoiced::Operations::DeleteTest | ||
include Invoiced::Operations::ListTest | ||
|
||
setup do | ||
@objectClass = EmailTemplate | ||
@endpoint = '/email_templates' | ||
end | ||
end | ||
end |
Oops, something went wrong.