call_action 2.3.1 → 3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 947634ec7f7613e0502a0c63dd6c1abbe1be8867
4
- data.tar.gz: d4540c82dca0179e77f0e53e5a384440779b50b4
3
+ metadata.gz: ebe9988eb7b63bdc2baf854aed44d06d84fead0b
4
+ data.tar.gz: d504c6cf14d5f455146d4ddfde0e5f1cd4aa786a
5
5
  SHA512:
6
- metadata.gz: 9e51574217cd4b2c2b265818b8b796af9754c7a9f085e87ba6cb60eb11ae7125626f7d44f40a99cae8608778bd7688dd85dc899e564c48e281a9ac0412b0a0b2
7
- data.tar.gz: 707ad7449445e55bb8f32fbf77433284338e488f6f77e9be3e337b1675081541b2874033b24de12f74ad13091d274301ec47cae36cfaf655c7f1ace582f7751f
6
+ metadata.gz: ec714c728895edad67325020f5fe9ccd2aa2b9f95d33f972bb73bf5bbdfaff75a1909fd1925ed96e05aa63cf68d96ed11ad328ce6a176efe2a57393e6591ccda
7
+ data.tar.gz: fe1180f23e0d3519c5dcd878a601482c2a15fc1eff59d58125a83ef60ea08167d66368754932c0a11920028c8824ec08feecdea65ddc2767a96c6e3335a4e20d
data/.gitignore CHANGED
@@ -18,3 +18,6 @@ Gemfile.lock
18
18
  gemfiles/*.lock
19
19
  pkg
20
20
  tmp/*
21
+ *.gem
22
+ .idea
23
+ .idea/*
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
@@ -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: 2.3.1
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 to be used within Ruby On Rails (RoR)
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.4.7
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: