ad_leads 0.1.8 → 0.1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/ad_leads/client.rb +0 -15
- data/lib/ad_leads/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
OWE3YjAwY2NiMjM3NGE2YzY2YTg4NjJkZjcyZDk2MzM1ODgzM2IxOA==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6fb188a923217178d28b0994dc3db18a8e3e8a53
|
4
|
+
data.tar.gz: 777e0c6fa3ee3e7abd6a149a16c692d361f47da4
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
M2NjZGEyZDYxMzlkM2FjNmVjYmUyMDQ1ZmE3NWY3ZDRmOWVkNzg2MTU5ZGIx
|
11
|
-
N2MzMTM2MDNmNGQwN2RkZDIyYWRlMzM4MjQ1NjY5MjY5ZmMyZDQ=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZGIwN2YxNzY1NTYzNzRkMDUwMTJhMTJmZDM1MTlkNjY0YjEwMWY1YjIxYTc2
|
14
|
-
ZWRlZDRjYWJkNDMzZGI4YjY2ZGM1YjhmNzA2MTUwZGEwZWIwNGRiY2UwZTgx
|
15
|
-
OTNkYmVlZWFiYTY3MmM1OTlmOTIzNWM4NmNjZDNjY2IyNTExNzg=
|
6
|
+
metadata.gz: 294a60978e55be8957aabe48a0755d114e7d60c950756f108cf97f3a75e81f4567f8c56b8a2223a83eed8e815e738ed2dab534b61c5972dbc2ec5ad6dc99cae1
|
7
|
+
data.tar.gz: 71b822570349787cee0885d9862763ac4b38541992966e6dc32d28213fcdc70fa0867dfe844df2d46f3eb4fb13d74b90a6fd7fa619091b958fb08309f917d78c
|
data/lib/ad_leads/client.rb
CHANGED
@@ -15,25 +15,10 @@ module AdLeads
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
-
def configure_campaign_signups(ad_campaign_id, etag, params = {})
|
19
|
-
path = "/campaigns/#{ad_campaign_id}/signupdelivery"
|
20
|
-
request(:post, path, params.merge(etag: etag))
|
21
|
-
end
|
22
|
-
|
23
|
-
def get_campaign_status(ad_campaign_id)
|
24
|
-
response = get("/campaigns/#{ad_campaign_id}")
|
25
|
-
JSON.parse(response.body)['status']
|
26
|
-
end
|
27
|
-
|
28
18
|
def get_reports(params)
|
29
19
|
get("/reports/campaign/report", params)
|
30
20
|
end
|
31
21
|
|
32
|
-
def pause_campaign(ad_campaign_id, etag)
|
33
|
-
path = "/campaigns/#{ad_campaign_id}/pause"
|
34
|
-
request(:post, path, etag: etag)
|
35
|
-
end
|
36
|
-
|
37
22
|
def get(path, params = {})
|
38
23
|
request(:get, path, params)
|
39
24
|
end
|
data/lib/ad_leads/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ad_leads
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.8
|
4
|
+
version: 0.1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dinshaw
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -56,56 +56,56 @@ dependencies:
|
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '2.14'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '2.14'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '1.5'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.5'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: pry
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
description:
|
@@ -115,7 +115,7 @@ executables: []
|
|
115
115
|
extensions: []
|
116
116
|
extra_rdoc_files: []
|
117
117
|
files:
|
118
|
-
- .gitignore
|
118
|
+
- ".gitignore"
|
119
119
|
- Gemfile
|
120
120
|
- LICENSE.txt
|
121
121
|
- README.md
|
@@ -154,12 +154,12 @@ require_paths:
|
|
154
154
|
- lib
|
155
155
|
required_ruby_version: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- -
|
157
|
+
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
161
|
requirements:
|
162
|
-
- -
|
162
|
+
- - ">="
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: '0'
|
165
165
|
requirements: []
|