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.
- checksums.yaml +4 -4
- data/lib/circuit_api.rb +31 -0
- metadata +2 -2
- data/lib/circuit.rb +0 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23247f5936db842f7b63bc6c00b5707397ad61e0177edd78bf50478bdfe7da75
|
4
|
+
data.tar.gz: '085a1a9e8d2ba382c1802d07ce4711cc051131689a17fc6f256b71f8a7f77be6'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11073a56bfbacfec85a8e743423f4d33e85d419ed7af7cd8fe1c9ad4ee4d320b9c9e6cf48715e2216fdda18a87bcf1af18bf29161cc53923827a19887f08fd78
|
7
|
+
data.tar.gz: a2c2c308dfcbcc1f507befc3924368ec18e8002da786e6258234454bea11ea0279bb0f95a712e58d4a96deecaa4163cc416563bf364688e2d4cada0a43b86fd2
|
data/lib/circuit_api.rb
ADDED
@@ -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.
|
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/
|
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
|