myob-api 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/myob/api/models/timesheet.rb +4 -0
- data/lib/myob/api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e4541e246c65b81d4241eaf0bd2fe9b7234e0e3
|
4
|
+
data.tar.gz: fbb422a83404ee7d36ce350e9a9176ea3149b679
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 586261f4a2e26080e8d1be61fc280bfe068de9f655351bbcf425d47050b17dd64957999d478662c22ea854b4f36358c673d0a670646a7aeb152affcc6b88c153
|
7
|
+
data.tar.gz: 4908958355975981fe390403bc3cda4a10b587a8d69bda58cb2840234486d6c4dc049458d1cd63f3ba4897b46b66e1494c1f3f29937dc68e2b2deec97c643d40
|
@@ -12,6 +12,10 @@ module Myob
|
|
12
12
|
false
|
13
13
|
end
|
14
14
|
|
15
|
+
def for(user_id, start_date, end_date)
|
16
|
+
self.send(:perform_request, url({'Employee' => {'UID' => user_id}, 'StartDate' => start_date, 'EndDate' => end_date}))
|
17
|
+
end
|
18
|
+
|
15
19
|
# a timesheet is identified based on an employee UID as well as its start and end date
|
16
20
|
# it does not have a UID of its own
|
17
21
|
def url(object = nil, params = nil)
|
data/lib/myob/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: myob-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Lumley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: '0'
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.
|
109
|
+
rubygems_version: 2.2.5
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: MYOB AccountRight Live API V2
|