wes-data-api 10.11.0 → 10.11.1

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: 181f62d2b3d065439e3423176292f75ea4db9e2e
4
- data.tar.gz: 59b213d80c734f917551515a843381676c6179d1
3
+ metadata.gz: e4a6a7995a39b1e2ae9af0b48fccd46b7f560bd6
4
+ data.tar.gz: 58f35fd921ba4a88ce144ed16b9bf7caf2f2a51c
5
5
  SHA512:
6
- metadata.gz: 5ee58038a0382b1a4008c43789a7c189c26dc3ed4923549d243a22d5bf70cc77cc6fbb03bf29032fcf5c8535f5ede9dc14427f2d52180317efabee2cd506d947
7
- data.tar.gz: 655e86ac460e78c4e120517a1c88a02033f7c3349eaebce53f9d5eb32518e76ee51aa690edb06ad10fd11fd53526487d3f4d787dfc084058b70c94e9dd83018f
6
+ metadata.gz: ea752fd06f01146614b91b67fbed2e6e95cb1c0490ce3770073527048f4f4a629afded8a646173c49aba5194a208ebd2c3e1365541eecb943dde7e6c92725904
7
+ data.tar.gz: 58d88a3742f7aae20e0e7ca900959ce3bc11979575e92c7a63532e95b6f7c8521945b832c1bdf98aa1177bb8bbf08595aca6b4b81eed3760430297cf988067c8
data/lib/wes/data/api.rb CHANGED
@@ -5,7 +5,7 @@ require 'wes/data/api/configuration'
5
5
  module Wes
6
6
  module Data
7
7
  module API
8
- VERSION = '10.11.0'.freeze
8
+ VERSION = '10.11.1'.freeze
9
9
  end
10
10
  end
11
11
  end
@@ -17,17 +17,17 @@ module Wes
17
17
 
18
18
  def brand_category(not_hidden: false)
19
19
  route = format('%s/brand', routes.brief)
20
- retrieve_brefs_for_category(route, not_hidden)
20
+ retrieve_brefs_for_category(route, not_hidden, '?')
21
21
  end
22
22
 
23
23
  def vidsy_category(user_id:, not_hidden: false)
24
24
  route = format('%s/vidsy?user_id=%s', routes.brief, user_id)
25
- retrieve_brefs_for_category(route, not_hidden)
25
+ retrieve_brefs_for_category(route, not_hidden, '&')
26
26
  end
27
27
 
28
28
  def squad_category(user_id:, not_hidden: false)
29
29
  route = format('%s/squad?user_id=%s', routes.brief, user_id)
30
- retrieve_brefs_for_category(route, not_hidden)
30
+ retrieve_brefs_for_category(route, not_hidden, '&')
31
31
  end
32
32
 
33
33
  def create(data)
@@ -62,8 +62,8 @@ module Wes
62
62
  Wes::Data::API::Model::Brief
63
63
  end
64
64
 
65
- def retrieve_brefs_for_category(route, not_hidden)
66
- route = format('%s?not_hidden', route) if not_hidden
65
+ def retrieve_brefs_for_category(route, not_hidden, seperator)
66
+ route = format('%s%snot_hidden', route, seperator) if not_hidden
67
67
  map_objects(client.get(route), model_klass)
68
68
  end
69
69
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wes-data-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.11.0
4
+ version: 10.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''