adriver_api 0.0.1 → 0.0.2

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: 26aae93fcbcaa1e982e6e6bb25b3caf72e3a22e6
4
- data.tar.gz: f5aada894b4b215b0e1aa818daf4e5c9c5d71bd3
3
+ metadata.gz: c5545d6fc918ca570d070729c9896b492c8a3c89
4
+ data.tar.gz: d2a6806e7afbc10c0a4ef4ed065de95c0d181d9e
5
5
  SHA512:
6
- metadata.gz: f4295c8864a05ff54ebf766d4afac3ba205846481d3c25c3c893831c6ddb802021c17bdf7b5e077b3817387f27dd1bfcc577da9ab8d8fd1f41fe2408f8745df4
7
- data.tar.gz: b57f9539081657ad2571a9d8b3d12cceb8289b0d8bcc9e7ef1cceb808851e4f5af073a51ae605397232e0f68042f88658df77ebe8ed80bfb5d34c1ca0e9016f3
6
+ metadata.gz: 67bd50cc2791472f98f4accc6c6048df6b1ae6b819bf6632a8de366d3767fbb484d950fd786b7f65d31f92fda70032f95ec9d8399724e785b414bff84edf5815
7
+ data.tar.gz: 6cb76a020b2497493e6328a62a377e35a98cab5b0250a0d7b78eb1be8385cba059ea45b1929dc1a93e31af82c25693623231b7e48011b8c8cdb4a1769cb937fb
@@ -33,7 +33,7 @@ module AdriverApi
33
33
  def adplacements(ad_id, raw: false)
34
34
  response = make_request('adplacements', ad_id: ad_id)
35
35
  return response if raw
36
- [t.body['feed']['entry']].flatten.map{|x| {id: x['content']['adPlacement']['id'], name: x['content']['adPlacement']['name'], banners: x['content']['adPlacement']['banners'] ? x['content']['adPlacement']['banners']['href'].map{|x2| x2.split('/').last} : []} }
36
+ [response.body['feed']['entry']].flatten.map{|x| {id: x['content']['adPlacement']['id'], name: x['content']['adPlacement']['name'], banners: x['content']['adPlacement']['banners'] ? x['content']['adPlacement']['banners']['href'].map{|x2| x2.split('/').last} : []} }
37
37
  end
38
38
 
39
39
  def banner(ban_id)
@@ -1,3 +1,3 @@
1
1
  module AdriverApi
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adriver_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Yudin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-04 00:00:00.000000000 Z
11
+ date: 2017-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler