yandex_offers 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yandex_offers/api/v1/campaigns.rb +6 -7
- data/lib/yandex_offers/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 273bf4395c7011ee3b2117f5f76923c23437bbd1
|
4
|
+
data.tar.gz: 7d83aac720d567fb5002e2891ec379c90ad009ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb790408cfc0104fe556659d0893667bdc1e541adce57a8da9afa21ebf602507fffee5889c7f47bafa3bb3abf3905c54309c34b03065afb6b41bd9005449480e
|
7
|
+
data.tar.gz: ba509285831d3470e56e0d9e5861919527f7e3d98db495a02993ddf18899685e0e12d0cd538f4cda692efdf21ecf98844adea2977e4216061101bc4db06c0eba
|
@@ -2,28 +2,27 @@ module YandexOffers
|
|
2
2
|
module Api
|
3
3
|
module V1
|
4
4
|
class Campaigns
|
5
|
-
|
6
|
-
def create(*args)
|
5
|
+
def create(args)
|
7
6
|
Request.post_with_authorization("/campaigns/create", args)
|
8
7
|
end
|
9
8
|
|
10
|
-
def start(
|
9
|
+
def start(args)
|
11
10
|
Request.post_with_authorization("/campaigns/start", args)
|
12
11
|
end
|
13
12
|
|
14
|
-
def stop(
|
13
|
+
def stop(args)
|
15
14
|
Request.post_with_authorization("/campaigns/stop", args)
|
16
15
|
end
|
17
16
|
|
18
|
-
def get(
|
17
|
+
def get(args)
|
19
18
|
Request.post_with_authorization("/campaigns/get", args)
|
20
19
|
end
|
21
20
|
|
22
|
-
def get_all_campaigns(
|
21
|
+
def get_all_campaigns(args)
|
23
22
|
Request.post_with_authorization("/campaigns/get-all-campaigns", args)
|
24
23
|
end
|
25
24
|
|
26
|
-
def add_pins(
|
25
|
+
def add_pins(args)
|
27
26
|
Request.post_with_authorization("/campaigns/add-pins", args)
|
28
27
|
end
|
29
28
|
end
|