filebound_client 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b857083501fad5a2cc689c18a3869939ba514679259f68809ac94ececc66cc4
4
- data.tar.gz: 6217a7f015e0811a60e8231f7809401eac6d847830fb7122881c09e690c27c1d
3
+ metadata.gz: da2595d81baa79573163bb00a9ad7d0bfc51fef38e629bbe91a40c786a735e81
4
+ data.tar.gz: ae877807f57a5b534a7dcbc2c7eb68a866fcc97d74e0e5244f0dddb7e0ce225b
5
5
  SHA512:
6
- metadata.gz: 33ff1b9695aa36f1525be4b849edb22595d96f57019412518b53c22ea9ba409fba6170a2401a0de8199b57d2641359975ba9c6bbb94b0060af3bc0e9db88bc7e
7
- data.tar.gz: 855fced0bf0da18243c51ab1c5379726ce67f0b690ab9148148af1b631b27438e0858d3f7992d5afe8a3d561de6fc8d0a26304f9b076cd7e613d05908a41e904
6
+ metadata.gz: 7a0408600f6c72a6f125a523c8bbf2d71e4ea740ec9e5df5884ca9a4e79a8e17644f0cac4b94162166904a712121c24800ab3a4464205c606bbe1579565ecae2
7
+ data.tar.gz: 9e8bc0d1a6df750fc9178436115ecf69bbce22244d84a1a04678c465ca26df21d32df1ffc3ad28e5e3fd9e6efbcf6045b3787a4ecd0f8912934f70193e354a0f
data/CHANGELOG.md CHANGED
@@ -3,6 +3,11 @@
3
3
 
4
4
  Changes to this gem will be noted here.
5
5
 
6
+ ## [0.3.1] - 2019-01-23
7
+
8
+ ### Added
9
+ - Call to get single routed item.
10
+
6
11
  ## [0.3.0] - 2019-01-22
7
12
 
8
13
  ### Changed
@@ -9,6 +9,14 @@ module FileboundClient
9
9
  end
10
10
  end
11
11
 
12
+ # Retrieves a single routed item by its key
13
+ # @param [int] routed_item_id the routed item key
14
+ # @param [Hash] query_params additional query params to send in the request
15
+ # @return [Project] routed_item object
16
+ def routed_item(routed_item_id, query_params = nil)
17
+ get("/routeditems/#{routed_item_id}", query_params)
18
+ end
19
+
12
20
  # Edits a routed item. The routed_item.id must be not nil and > 0.
13
21
  # @param [Hash] routed_item the routed item to edit
14
22
  # @return [nil]
@@ -1,4 +1,4 @@
1
1
  module FileboundClient
2
2
  # Current version of gem
3
- VERSION = '0.3.0'.freeze
3
+ VERSION = '0.3.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filebound_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Richardson