circuit-api 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/circuit_api.rb +31 -0
  3. metadata +2 -2
  4. data/lib/circuit.rb +0 -31
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b97d0b92a5ec9831fbc53f05baa12143c22f7b7c81df74177647336513a1020
4
- data.tar.gz: b07ff7d9336ced27823d4024778bfcc44d0151cd19e89ea7b4ea1f5ecee88e05
3
+ metadata.gz: 23247f5936db842f7b63bc6c00b5707397ad61e0177edd78bf50478bdfe7da75
4
+ data.tar.gz: '085a1a9e8d2ba382c1802d07ce4711cc051131689a17fc6f256b71f8a7f77be6'
5
5
  SHA512:
6
- metadata.gz: 0d9b1353edfb2339827fef88cb0b5f139a53477cceff378e94cdb77124ca0b8514fd234d7caa1142b7072260c086fef1627ffd1eb75bcebc195a37e6a8d9c688
7
- data.tar.gz: 6732e2a76c8c1fc5afe11452eb5be77f1ae339baa2e5df9be82918a788cabb89dd40fab974b2703bd9ccced027c3fadbcb2d6e528c81e11176afe45222137edd
6
+ metadata.gz: 11073a56bfbacfec85a8e743423f4d33e85d419ed7af7cd8fe1c9ad4ee4d320b9c9e6cf48715e2216fdda18a87bcf1af18bf29161cc53923827a19887f08fd78
7
+ data.tar.gz: a2c2c308dfcbcc1f507befc3924368ec18e8002da786e6258234454bea11ea0279bb0f95a712e58d4a96deecaa4163cc416563bf364688e2d4cada0a43b86fd2
@@ -0,0 +1,31 @@
1
+ require 'net/http'
2
+ require 'uri'
3
+ require 'json'
4
+
5
+ require 'circuit_api/version'
6
+ require 'circuit_api/client'
7
+ require 'circuit_api/resource'
8
+
9
+ require 'circuit_api/utils/connection'
10
+ require 'circuit_api/utils/errors'
11
+ require 'circuit_api/utils/attributes'
12
+ require 'circuit_api/utils/object'
13
+
14
+ require 'circuit_api/resources/base'
15
+ require 'circuit_api/resources/conversation'
16
+ require 'circuit_api/resources/label'
17
+ require 'circuit_api/resources/message'
18
+ require 'circuit_api/resources/presence'
19
+ require 'circuit_api/resources/rtc_session'
20
+ require 'circuit_api/resources/user'
21
+ require 'circuit_api/resources/webhook'
22
+
23
+ module CircuitApi
24
+ API_BASE_URL = 'https://www.circuit.com/'.freeze
25
+ API_SANDBOX_BASE_URL = 'https://circuitsandbox.net/'.freeze
26
+ API_PATH_BASE = 'rest/v2/'.freeze
27
+
28
+ class << self
29
+ attr_accessor :logger
30
+ end
31
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: circuit-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Pochet
@@ -86,7 +86,7 @@ executables: []
86
86
  extensions: []
87
87
  extra_rdoc_files: []
88
88
  files:
89
- - lib/circuit.rb
89
+ - lib/circuit_api.rb
90
90
  homepage:
91
91
  licenses:
92
92
  - MIT
data/lib/circuit.rb DELETED
@@ -1,31 +0,0 @@
1
- require 'net/http'
2
- require 'uri'
3
- require 'json'
4
-
5
- require 'circuit/version'
6
- require 'circuit/client'
7
- require 'circuit/resource'
8
-
9
- require 'circuit/utils/connection'
10
- require 'circuit/utils/errors'
11
- require 'circuit/utils/attributes'
12
- require 'circuit/utils/object'
13
-
14
- require 'circuit/resources/base'
15
- require 'circuit/resources/conversation'
16
- require 'circuit/resources/label'
17
- require 'circuit/resources/message'
18
- require 'circuit/resources/presence'
19
- require 'circuit/resources/rtc_session'
20
- require 'circuit/resources/user'
21
- require 'circuit/resources/webhook'
22
-
23
- module Circuit
24
- API_BASE_URL = 'https://www.circuit.com/'.freeze
25
- API_SANDBOX_BASE_URL = 'https://circuitsandbox.net/'.freeze
26
- API_PATH_BASE = 'rest/v2/'.freeze
27
-
28
- class << self
29
- attr_accessor :logger
30
- end
31
- end