set_service_client 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: 9ede304d80ecb92f62dff2d5a993413947eb46c0
4
- data.tar.gz: e411fab0d477d0b28d1c2e16125fcf54c6ce986e
3
+ metadata.gz: 1b1af12dd61effa9873282caefcee958e27ab6c9
4
+ data.tar.gz: 621b545afe0f214356bc9fe3f460b7ceeb5cd5f4
5
5
  SHA512:
6
- metadata.gz: 7834076d86428053176de32f0ee6eccbdfa0c65141989657cff14ad5261b04826123d5f2d38a71e54576b90b042f80be10e7d035c13d8c79b374be02b9b35429
7
- data.tar.gz: 3cbff63b2dd6d7f983c4ec2570aadddb217d8265be4813da85f10ae5353e6a2d5c233cc3ca39338fb3734092a47426bfa394a89ecec6821ffda3d44f12db63d3
6
+ metadata.gz: f9599a15cdd4d399babfd192602bb8d7947e27d920fef470b3bd78eb30795f3215cfe4d7a2b8c98a603caf67dcd63515ea2b4828565d91eefcc54c6d55b8a386
7
+ data.tar.gz: b04bdfbc9257075901e34f7a9a4b778a0b30f92c4beb9961d517b1067e0864b47862aa12e55c9587fafe94a0e3fc0489150785edd23d4b001663a41a03ead798
@@ -1,3 +1,3 @@
1
1
  module SetServiceClient
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -16,10 +16,10 @@ module SetServiceClient
16
16
  def self.get_with_materials(set_uuid)
17
17
  conn = get_connection
18
18
  conn.headers = {'Accept' => 'application/vnd.api+json'}
19
- JSON.parse(get_connection.get('/api/v1/sets/'+set_uuid+'/relationships/materials').body)
19
+ JSON.parse(conn.get('/api/v1/sets/'+set_uuid+'/relationships/materials').body)
20
20
  end
21
21
 
22
- def self.get_set_name(set_uuid)
22
+ def self.get_set(set_uuid)
23
23
  conn = get_connection
24
24
  conn.headers = {'Accept' => 'application/vnd.api+json'}
25
25
  JSON.parse(conn.get('/api/v1/sets/'+set_uuid).body)
@@ -34,7 +34,6 @@ module SetServiceClient
34
34
  faraday.request :url_encoded
35
35
  faraday.response :logger
36
36
  faraday.adapter Faraday.default_adapter
37
- faraday.proxy Rails.application.config.set_url_default_proxy
38
37
  end
39
38
  conn.headers = {'Content-Type' => 'application/vnd.api+json'}
40
39
  conn
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: set_service_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harriet Craven