aircall 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/Gemfile.lock +1 -1
- data/README.md +23 -2
- data/lib/aircall/connection.rb +1 -1
- data/lib/aircall/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8dd3962146b4214727d5468e14c72ea456b3a38c
|
4
|
+
data.tar.gz: 3b0b0e603049d23233083ccbe088cfe9045b6f64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e63b76d61fe275ea5ab85233c93c1007710ab6bd09e6ab39e7625f59d5c6fd6ad691a91866719766eae08fc19bb913bfedfde8a3282c437107641e0a58e0a87d
|
7
|
+
data.tar.gz: eaf509ecb9c46f7b81429056183b0545614512a4a46ceb45a14092c00479556ca8d26dd5133a42102ae2a9cf1620ee752e478cb0471fa8bbe5e81ad2cd757848
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
A Ruby gem for [Aircall](https://developer.aircall.io/api-references/).
|
7
7
|
Only some methods are presents for the moment.
|
8
8
|
|
9
|
+
|
9
10
|
## Installation
|
10
11
|
|
11
12
|
Add this line to your application's Gemfile:
|
@@ -22,17 +23,19 @@ Or install it yourself as:
|
|
22
23
|
|
23
24
|
$ gem install aircall
|
24
25
|
|
25
|
-
## Usage
|
26
26
|
|
27
|
+
## Usage
|
27
28
|
|
28
29
|
### Init
|
29
30
|
|
30
31
|
Create new Aircall connection like this:
|
31
32
|
|
33
|
+
require 'aircall'
|
32
34
|
aircall = Aircall.new({id: [AIRCALL_ID], token: [AIRCALL_TOKEN]})
|
33
35
|
|
34
36
|
Or like this:
|
35
37
|
|
38
|
+
require 'aircall'
|
36
39
|
aircall = Aircall.new
|
37
40
|
aircall.id = [AIRCALL_ID]
|
38
41
|
aircall.token = [AIRCALL_TOKEN]
|
@@ -50,9 +53,27 @@ Or like this:
|
|
50
53
|
|
51
54
|
`aircall.contacts.get_by_phone_number("+33612345678", per_page:1, page:3, order: "desc", order_by: "updated_at")`
|
52
55
|
|
53
|
-
|
56
|
+
---
|
57
|
+
|
58
|
+
## Development
|
59
|
+
|
60
|
+
### Build
|
61
|
+
`gem build aircall.gemspec`
|
62
|
+
|
63
|
+
### Local installation
|
64
|
+
`gem install ./aircall[version].gem`
|
65
|
+
|
66
|
+
|
67
|
+
### Tests
|
54
68
|
|
55
69
|
Create **.env** file from **.env.example**.
|
56
70
|
Complete with your variables.
|
57
71
|
|
58
72
|
Run test with `rake test`.
|
73
|
+
|
74
|
+
|
75
|
+
### Deployment
|
76
|
+
|
77
|
+
Deployment from Github
|
78
|
+
|
79
|
+
`bundle exec rake release`
|
data/lib/aircall/connection.rb
CHANGED
data/lib/aircall/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aircall
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilek
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-05-
|
12
|
+
date: 2018-05-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|