myob-api 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/lib/myob-api.rb +2 -0
- data/lib/myob/api/client.rb +3 -1
- data/lib/myob/api/models/invoice.rb +11 -0
- data/lib/myob/api/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d66aa77bf1173e2b44bbd7977654489c9903b2bd
|
4
|
+
data.tar.gz: e3dfa8bf1acccac654215efe28e7d5ffe13a3e1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2623f2575b66d319c4175fdff26eee880a52118ace35f28bb1d3a4d04185ed51d77b5b7ad546aaaa4e9b488339824938941d85b1b4e5793cd2e1d5463ad1403b
|
7
|
+
data.tar.gz: 2109efaa47871dd63191a835566d3b0212a3f6382d44f2a4f64e83dbe2ba26d0c2c86d39af0a83ed7a4a35a5966db8663b5cd616aa2a47dfe8a9c85d383436ef
|
data/README.md
CHANGED
@@ -120,6 +120,12 @@ Return a list of all employees
|
|
120
120
|
|
121
121
|
api_client.employee.all
|
122
122
|
|
123
|
+
#### Invoices
|
124
|
+
|
125
|
+
Return a list of all invoices
|
126
|
+
|
127
|
+
api_client.invoice.all
|
128
|
+
|
123
129
|
#### Creating an entity
|
124
130
|
|
125
131
|
To create a new entity, call #save on its model, passing through a hash that represents the entity. Refer to the MYOB API documentation for required fields.
|
data/lib/myob-api.rb
CHANGED
data/lib/myob/api/client.rb
CHANGED
data/lib/myob/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: myob-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Lumley
|
@@ -75,6 +75,7 @@ files:
|
|
75
75
|
- lib/myob/api/models/customer.rb
|
76
76
|
- lib/myob/api/models/employee.rb
|
77
77
|
- lib/myob/api/models/employee_payroll_details.rb
|
78
|
+
- lib/myob/api/models/invoice.rb
|
78
79
|
- lib/myob/api/models/payroll_category.rb
|
79
80
|
- lib/myob/api/models/timesheet.rb
|
80
81
|
- lib/myob/api/models/wage.rb
|