callrail 0.2.5 → 0.2.6
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 +4 -4
- data/.gitignore +3 -1
- data/README.md +5 -0
- data/lib/callrail.rb +1 -1
- data/lib/callrail/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: dbbaf506ead787ca52dc63840bb542d453d49a34
|
4
|
+
data.tar.gz: c612a2e8c8fb78bf487947a8a13736bd5bb407df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81cad40eb9c1b41226ecfa9d89779a76ff9866ffbd41e4537b07f372b1d62187dd927122178f5ac6bce60f9341bc89a6451cbec46f83b13a9ff08ef67cfde441
|
7
|
+
data.tar.gz: 962ea32852ee2427319273b5a8b01de3aa7a905c039b34b61aa455ade32fa676df8a4a7be2fd0a0437e5072f3628ac48cd156c93573a5bb7985bc5dc377bd7ae
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -161,6 +161,11 @@ tracker_options[:sms_enabled] = true
|
|
161
161
|
tracker_options[:whisper_message] = "This is a test number call"
|
162
162
|
testcon.create_tracker(tracker_options)
|
163
163
|
```
|
164
|
+
###### Update a Source Tracker
|
165
|
+
tracker_options = {}
|
166
|
+
tracker_options[:source] = {:type => "search", :search_engine => "all", :search_type => "paid"}
|
167
|
+
tracker_options[:tracker_id] = <tracker_id>
|
168
|
+
puts testcon.update_tracker(tracker_options)
|
164
169
|
|
165
170
|
###### Getting Integrations for a company
|
166
171
|
```
|
data/lib/callrail.rb
CHANGED
@@ -187,7 +187,7 @@ module Callrail
|
|
187
187
|
end
|
188
188
|
|
189
189
|
def update_tracker(opts={})
|
190
|
-
|
190
|
+
path = "/" + @account_id + "/trackers/" + opts[:tracker_id].to_s + ".json"
|
191
191
|
params = set_params(opts)
|
192
192
|
return parse_json(RestClient.put(@url+path, params, :Authorization => @auth))
|
193
193
|
end
|
data/lib/callrail/version.rb
CHANGED