yandex_offers 0.1.4 → 0.1.5

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: 273bf4395c7011ee3b2117f5f76923c23437bbd1
4
- data.tar.gz: 7d83aac720d567fb5002e2891ec379c90ad009ed
3
+ metadata.gz: 99212c76123d662a56d0a7abd42e9841a05983ea
4
+ data.tar.gz: b6b49f7b5ab59bd4bf7998713b0d977b5e9e07fa
5
5
  SHA512:
6
- metadata.gz: cb790408cfc0104fe556659d0893667bdc1e541adce57a8da9afa21ebf602507fffee5889c7f47bafa3bb3abf3905c54309c34b03065afb6b41bd9005449480e
7
- data.tar.gz: ba509285831d3470e56e0d9e5861919527f7e3d98db495a02993ddf18899685e0e12d0cd538f4cda692efdf21ecf98844adea2977e4216061101bc4db06c0eba
6
+ metadata.gz: 25e425f3b7d18028c574c9f44b1cc4365e1a8a3c9b50a39683e2b7a1c2410cf66ef8afada39290d6ad5d5f3ffede314068741492b4afc57e219a58d7ebd27d6f
7
+ data.tar.gz: 7a0c8137d866047246213214ee7673ea231c604d97128c9497122c57eb0d12d0c3fc160c6fd9edf60545ccd0370715800c6aa16a17fa3fafc482bd66380c0e62
@@ -25,6 +25,10 @@ module YandexOffers
25
25
  def add_pins(args)
26
26
  Request.post_with_authorization("/campaigns/add-pins", args)
27
27
  end
28
+
29
+ def redeem(args)
30
+ Request.post_with_authorization("/campaigns/redeem", args)
31
+ end
28
32
  end
29
33
  end
30
34
  end
@@ -1,3 +1,3 @@
1
1
  module YandexOffers
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -2,7 +2,6 @@
2
2
  lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require "yandex_offers/version"
5
- require "pry"
6
5
 
7
6
  Gem::Specification.new do |spec|
8
7
  spec.name = "yandex_offers"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yandex_offers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - fenec
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-20 00:00:00.000000000 Z
11
+ date: 2017-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler