circuit-api 0.0.10 → 0.0.11

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
  SHA256:
3
- metadata.gz: d0a1d9d7920e82bead86ad8dd851d552181b260f64e9e84f2f21f6881d7108bb
4
- data.tar.gz: 62927a14574f7a4d1513dc593ab2db77a86f19fe771fa16c952332f2f379f0ad
3
+ metadata.gz: 5f51ac41685250391f61c4675420a1ea31ed345aa6e3c0bce2679c8b5041afdc
4
+ data.tar.gz: 47d3c637f4f7571cd0b3875832e27cacd952ad09e647d5ba39d5ed04c39e043b
5
5
  SHA512:
6
- metadata.gz: e401cc39021d5c666fca89d52f11a7e81bd46f21123b0b21c7e4356366c743f190f1f7a7f6ff1529927e770ba9e334e3ed7c1b27242f101a40def03cd4759850
7
- data.tar.gz: a4b1ef01a599759c819b84be953edde0389ec0a99c84e60cbe387b6d11a81052c901602b1d04fdb3a2a7e183df7a91f6e63e161abd35b831afaf4891f655b20e
6
+ metadata.gz: 9b324718ad1c75c3817c8f5179c56397ae09fb2757aaaf1c4d66d2ba7f87cc5258d155672e0f30726e14c5b3c1cca7343ea3ab99f28d66b66c7502ff6b0a20fb
7
+ data.tar.gz: 163ae15aae5ef12129726d4329c734f19ff662aca990f1f472b02c3caff1b7016da385fcec6107435fefb9c13733e3aa8e32b459b1ceffdc395eaf2548d2f075
@@ -21,7 +21,7 @@ require 'circuit_api/resources/user'
21
21
  require 'circuit_api/resources/webhook'
22
22
 
23
23
  module CircuitApi
24
- API_BASE_URL = 'https://www.circuit.com/'.freeze
24
+ API_BASE_URL = 'https://eu.yourcircuit.com/'.freeze
25
25
  API_SANDBOX_BASE_URL = 'https://circuitsandbox.net/'.freeze
26
26
  API_PATH_BASE = 'rest/v2/'.freeze
27
27
 
@@ -1,6 +1,12 @@
1
1
  module CircuitApi
2
2
  module Resources
3
3
  class Presence < Base
4
+ AVAILABLE = 'AVAILABLE'.freeze
5
+ OFFLINE = 'OFFLINE'.freeze
6
+ BUSY = 'BUSY'.freeze
7
+ DND = 'DND'.freeze
8
+ AWAY = 'AWAY'.freeze
9
+
4
10
  def api_resource
5
11
  'users'
6
12
  end
@@ -1,3 +1,3 @@
1
1
  module CircuitApi
2
- VERSION = '0.0.10'
2
+ VERSION = '0.0.11'
3
3
  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.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Pochet