aircall 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12d121e46105a86984bb40937a954b85a2e13590
4
- data.tar.gz: a3a293e116b98b242fe4828dcf0caf92c1a7edc1
3
+ metadata.gz: eae6f0871fa1c023682ccd59b4776c8c9c40a064
4
+ data.tar.gz: 2681d5af61e1e85206c974656320747fa80bf94b
5
5
  SHA512:
6
- metadata.gz: 17d86e77002a3eb2a720e2dd39594ac971316c2dc8825ea3c5e3717347f943e456805c60930959b6f1a30460aa76ad7eab215f5392a960894fd9ee7544c7dbdf
7
- data.tar.gz: 3b8280eb416627d5d6873381debe2355706adb757a7342dbdde80446fec70dfebc0cc87fc5ef5514df6c21e6febf8122b39f63d57e9c9cbac5194533da2343d1
6
+ metadata.gz: 1f0ebed1a51821692e529cb506eaf77148b72660d70108f97891949708c705c04389838b71fa32dbaafb549763ec758e57eb79eb8cf89924dc3d9ce12f672e75
7
+ data.tar.gz: 79272f3dbc5cab74bc8c6aad90985fde65a46a603ffddb00a7201ed46f7fdc33c7dccafcc5b7344bd3a81c8e710ea0b3b6b4522f1fe358d443f9f47a3888534b
data/.gitignore CHANGED
@@ -2,10 +2,10 @@
2
2
  /.yardoc
3
3
  /_yardoc/
4
4
  /coverage/
5
- /doc/
6
5
  /pkg/
7
6
  /spec/reports/
8
7
  /tmp/
9
8
  .idea/
10
9
  bin/temporary_tests
11
- .env
10
+ .env
11
+ *.gem
data/doc/calls.md ADDED
@@ -0,0 +1,45 @@
1
+ # Calls
2
+
3
+ ### By id
4
+
5
+ ##### Method
6
+
7
+ `calls.by_id`
8
+
9
+ ##### Parameters
10
+
11
+ | Name | Default value |
12
+ | ------------- |:-------------:|
13
+ | call_id | |
14
+
15
+
16
+ ### By user id
17
+
18
+ ##### Method
19
+ `calls.get_by_user_id`
20
+
21
+ ##### Parameters
22
+
23
+ | Name | Default value |
24
+ | ------------- |:-------------:|
25
+ | user_id | |
26
+ | page | 1 |
27
+ | per_page | 5 |
28
+ | order | asc |
29
+ | order_by | created_at |
30
+
31
+
32
+ ### By phone number
33
+
34
+ ##### Method
35
+ `calls.get_by_phone_number`
36
+
37
+ ##### Parameters
38
+
39
+ | Name | Default value |
40
+ | ------------- |:-------------:|
41
+ | phone_number | |
42
+ | page | 1 |
43
+ | per_page | 5 |
44
+ | order | asc |
45
+ | order_by | created_at |
data/doc/contacts.md ADDED
@@ -0,0 +1,45 @@
1
+ # Contacts
2
+
3
+ ### By id
4
+
5
+ ##### Method
6
+
7
+ `contacts.by_id`
8
+
9
+ ##### Parameters
10
+
11
+ | Name | Default value |
12
+ | ------------- |:-------------:|
13
+ | contact_id | |
14
+
15
+
16
+ ### By email
17
+
18
+ ##### Method
19
+ `contacts.get_by_email`
20
+
21
+ ##### Parameters
22
+
23
+ | Name | Default value |
24
+ | ------------- |:-------------:|
25
+ | email | |
26
+ | page | 1 |
27
+ | per_page | 5 |
28
+ | order | asc |
29
+ | order_by | created_at |
30
+
31
+
32
+ ### By phone number
33
+
34
+ ##### Method
35
+ `contacts.get_by_phone_number`
36
+
37
+ ##### Parameters
38
+
39
+ | Name | Default value |
40
+ | ------------- |:-------------:|
41
+ | phone_number | |
42
+ | page | 1 |
43
+ | per_page | 5 |
44
+ | order | asc |
45
+ | order_by | created_at |
data/doc/numbers.md ADDED
@@ -0,0 +1,13 @@
1
+ # Numbers
2
+
3
+ ### By id
4
+
5
+ ##### Method
6
+
7
+ `numbers.by_id`
8
+
9
+ ##### Parameters
10
+
11
+ | Name | Default value |
12
+ | ------------- |:-------------:|
13
+ | number_id | |
data/doc/users.md ADDED
@@ -0,0 +1,13 @@
1
+ # Users
2
+
3
+ ### By id
4
+
5
+ ##### Method
6
+
7
+ `users.by_id`
8
+
9
+ ##### Parameters
10
+
11
+ | Name | Default value |
12
+ | ------------- |:-------------:|
13
+ | user_id | |
@@ -1,3 +1,3 @@
1
1
  module Aircall
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilek
@@ -113,6 +113,10 @@ files:
113
113
  - bin/console
114
114
  - bin/setup
115
115
  - bin/temporary_tests
116
+ - doc/calls.md
117
+ - doc/contacts.md
118
+ - doc/numbers.md
119
+ - doc/users.md
116
120
  - lib/aircall.rb
117
121
  - lib/aircall/calls.rb
118
122
  - lib/aircall/connection.rb