gonebusy-ruby-client 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8893a20bfd247b948481283212e9be2c47811c72
4
- data.tar.gz: 85c8d616feee0d2c9498e051f79ef3678709beb9
3
+ metadata.gz: 7e102e149359d5e7dd502b7f36732f8dc5574fd8
4
+ data.tar.gz: 219da41ca505e762b503ec741426ac148ec4cb55
5
5
  SHA512:
6
- metadata.gz: 98211319fe8848a1a06fbe05ca8d7157bee5b85a898ba60223e7ad094d0f049de382c56f47476af7861c7bcecca2f1bc783c75d4b7ffca08e7dfd101e459e4ce
7
- data.tar.gz: 050e9de5d1f73e75421975cc373fd79673b9e49c2210764f68d564fd7d834d09c6671f503c43d904d5f8808baa415635c4b6ec8fb2efe6d95a7275079ef0816e
6
+ metadata.gz: 8417e7f599b6ac0445108003a324a1c4f5270cb4e463bbaedc4f9abfcf23d254f4a6d0003f4be82538e94035964ab434c0ce7c9b23740d9b90e49e2a055165fe
7
+ data.tar.gz: 6d348ac93f074c3c4caac472795adbbd6f61f836f78ae8a59c434a84e655996dc3101e2a9a6a7e9cc5ee779c772b131c5eb753091a345f4ef5dcd5a49ddf49e7
@@ -366,6 +366,8 @@ module Gonebusy
366
366
  # @param [String] authorization Required parameter: A valid API key, in the format 'Token API_KEY'
367
367
  # @param [Integer] page Optional parameter: Page offset to fetch.
368
368
  # @param [Integer] per_page Optional parameter: Number of results to return per page.
369
+ # @param [Integer] resource_id Optional parameter: Retrieve Schedules only for this Resource. You, or provided :user_id, must be authorized to manage this Resource.
370
+ # @param [Integer] service_id Optional parameter: Retrieve Schedules only for this Service. You, or provided :user_id, must be authorized to manage this Service.
369
371
  # @param [Integer] user_id Optional parameter: Retrieve Schedules owned only by this User Id. You must be authorized to manage this User Id.
370
372
  # @return GetSchedulesResponse response from the API call
371
373
  def get_schedules(options = Hash.new)
@@ -380,6 +382,8 @@ module Gonebusy
380
382
  _query_builder = APIHelper.append_url_with_query_parameters _query_builder, {
381
383
  'page' => options['page'],
382
384
  'per_page' => options['per_page'],
385
+ 'resource_id' => options['resource_id'],
386
+ 'service_id' => options['service_id'],
383
387
  'user_id' => options['user_id']
384
388
  }
385
389
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gonebusy-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Agranov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-14 00:00:00.000000000 Z
11
+ date: 2017-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday