wes-data-api 5.2.0 → 5.2.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
  SHA1:
3
- metadata.gz: 9f61e356b066e64f6e32299fe1950a6b7cbe3a87
4
- data.tar.gz: 0e5a033447213286c7fc3019fac85c7e78c739f2
3
+ metadata.gz: 128a575b567cfd9364e35dfe29f7826ee0f47d31
4
+ data.tar.gz: 9498d6cc58e12f72dc80aa4262235ee179939cb9
5
5
  SHA512:
6
- metadata.gz: 46beec5f82e9f0db38ba397c592681c47a1904faac3119578c83df7e0cb388ceca93cbad719e860903304151278dd0e653955f7c541ac7ba051f3d888dcc0a00
7
- data.tar.gz: 5bf39b173d3c4c0984090d0bd52a778783eb8b63d316759413caa127b1a6a7f79df4a158fd12e77a8f7877e9d9f71db9da545722d5a7830409ba0ae1b17024b1
6
+ metadata.gz: fc86c4bb74438d0a29cfde26d69314d2b1412040d38229ef0a7e3f20671a2fadb078cce9a5df7ee590e5ab58a5d113250bedd0151b4d3e68d7ed26a3954573aa
7
+ data.tar.gz: 34b010c432d919b758443b25d89bed2dc498410eb5b176e5804df32b7d19b3f741da5633d58fe54d979bda2ec49e0e99281693e8a668b8731ce78bfa3f9359d6
@@ -5,7 +5,7 @@ require "wes/data/api/configuration"
5
5
  module Wes
6
6
  module Data
7
7
  module API
8
- VERSION = "5.2.0".freeze
8
+ VERSION = "5.2.1".freeze
9
9
  end
10
10
  end
11
11
  end
@@ -15,8 +15,7 @@ module Wes
15
15
  end
16
16
 
17
17
  def create(id)
18
- route = [routes.creator_user, id].join("/")
19
- attributes = client.post(route, {}).first
18
+ attributes = client.post(routes.creator_user, data).first
20
19
  attributes.nil? ? nil : model_klass.new(attributes)
21
20
  end
22
21
 
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: 5.2.0
4
+ version: 5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''