call_action 2.3.1 → 3.0
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 -0
- data/README.md +12 -1
- data/lib/call_action/api.rb +1 -1
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebe9988eb7b63bdc2baf854aed44d06d84fead0b
|
4
|
+
data.tar.gz: d504c6cf14d5f455146d4ddfde0e5f1cd4aa786a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec714c728895edad67325020f5fe9ccd2aa2b9f95d33f972bb73bf5bbdfaff75a1909fd1925ed96e05aa63cf68d96ed11ad328ce6a176efe2a57393e6591ccda
|
7
|
+
data.tar.gz: fe1180f23e0d3519c5dcd878a601482c2a15fc1eff59d58125a83ef60ea08167d66368754932c0a11920028c8824ec08feecdea65ddc2767a96c6e3335a4e20d
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -8,6 +8,17 @@ This gem is ruby wrapper for [CallAction](https://callaction.co/) API. It is ope
|
|
8
8
|
- Build Your Lead Database
|
9
9
|
- Answer Every Call
|
10
10
|
|
11
|
+
### Supported Rubies
|
12
|
+
|
13
|
+
CallAction supports and is tested against the following Ruby versions:
|
14
|
+
|
15
|
+
- 1.9.3
|
16
|
+
- 2.0.0
|
17
|
+
- 2.2.0
|
18
|
+
- 2.3.0
|
19
|
+
|
20
|
+
CallAction may work just fine with a Ruby version not listed above, but we can't guarantee that it will. If you'd like to maintain a Ruby that isn't listed, please let us know with a pull request.
|
21
|
+
|
11
22
|
### Installation
|
12
23
|
|
13
24
|
Add call_action gem to your Gemfile
|
@@ -24,7 +35,7 @@ $ bundle install
|
|
24
35
|
Generate configuration file using
|
25
36
|
|
26
37
|
```sh
|
27
|
-
rails generate call_action:install
|
38
|
+
$ rails generate call_action:install
|
28
39
|
```
|
29
40
|
|
30
41
|
It would generate call_action.rb file inside initializers folder of your application. Here you need to specify api version (current version is v1) and your auth token
|
data/lib/call_action/api.rb
CHANGED
@@ -12,7 +12,7 @@ module CallAction
|
|
12
12
|
def initialize headers = {}
|
13
13
|
@token = CallAction.auth_token
|
14
14
|
@api_version = CallAction.api_version
|
15
|
-
@base_url = "https://callaction.co/api/"
|
15
|
+
@base_url = "https://app.callaction.co/api/"
|
16
16
|
@headers = {"Accept" => "application/json", "Content-Type" => "application/json", "X-AUTH-TOKEN" => @token}.merge(headers)
|
17
17
|
end
|
18
18
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: call_action
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: '3.0'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shahzad Tariq
|
@@ -10,14 +10,14 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2017-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: Ruby wrapper for CallAction API
|
14
|
-
and other Ruby based frameworks
|
13
|
+
description: Ruby wrapper for CallAction API. It can be used within Ruby On Rails
|
14
|
+
(RoR) and other Ruby based frameworks
|
15
15
|
email: m.shahzad.tariq@hotmaul.com
|
16
16
|
executables: []
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
-
- .gitignore
|
20
|
+
- ".gitignore"
|
21
21
|
- LICENSE
|
22
22
|
- README.md
|
23
23
|
- lib/call_action.rb
|
@@ -38,19 +38,18 @@ require_paths:
|
|
38
38
|
- lib
|
39
39
|
required_ruby_version: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '0'
|
44
44
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '0'
|
49
49
|
requirements: []
|
50
50
|
rubyforge_project:
|
51
|
-
rubygems_version: 2.
|
51
|
+
rubygems_version: 2.5.1
|
52
52
|
signing_key:
|
53
53
|
specification_version: 4
|
54
54
|
summary: CallAction API
|
55
55
|
test_files: []
|
56
|
-
has_rdoc:
|