wes-data-api 12.0.2 → 12.1.0

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: 01c556c0f2520b6f05d5e23b03c26eca75bc7699
4
- data.tar.gz: 68a139ef99462247aab909a506c62eac26913569
3
+ metadata.gz: 792149f2d0cd8331fad05ef9090fa2d258c04523
4
+ data.tar.gz: 39a879a70f0647a8cec170d51df2ee24864edfff
5
5
  SHA512:
6
- metadata.gz: 40d2e8a6453441facea822e9700bb470b8639986cd485850b343507502f545c16e23569b6fd70b8586d4d69c7eadc6635f67dda322f839e8e8313edd4fcbda5d
7
- data.tar.gz: 04ab18ea48de0db33322c9f786266ac65d8ccbff80e13ae88d9b2bd66aa6d4c266e6c62ba8757603dc5cc77fc48cbf23ee2601b93976d9af0887aa623825b941
6
+ metadata.gz: 96ecef0e9eb05bbe1f3d953ee3280475e2a0b542743923b5c5528e073f15c3001874d9862f3542b160b1c8082e798205372b29828bb05b332218067d42dce03e
7
+ data.tar.gz: 58e72e55570bc850fe7d88f33ebd58778cfb020187d20546af92c57a7b41d0007630f663a8a3b6c5c8d52c95faa37e12b9dde79d19cb6ad1afb210f1425e4ef7
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 = '12.0.2'.freeze
8
+ VERSION = '12.1.0'.freeze
9
9
  end
10
10
  end
11
11
  end
@@ -45,9 +45,7 @@ module Wes
45
45
  offset
46
46
  )
47
47
  records = client.get(route)
48
- map_objects(
49
- records, Wes::Data::API::Model::Transaction
50
- )
48
+ records.map_results(Wes::Data::API::Model::Transaction)
51
49
  end
52
50
 
53
51
  def users(state: nil, fetch: false)
@@ -62,9 +62,7 @@ module Wes
62
62
  offset
63
63
  )
64
64
  records = client.get(route)
65
- map_objects(
66
- records, Wes::Data::API::Model::Transaction
67
- )
65
+ records.map_results(Wes::Data::API::Model::Transaction)
68
66
  end
69
67
 
70
68
  protected
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wes-data-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.0.2
4
+ version: 12.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-06 00:00:00.000000000 Z
11
+ date: 2016-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler