kisi-client 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: a40015aae3a5daeee65b8dc95d2684375e1ac89d
4
- data.tar.gz: c017b53e66d6c4a74772ad4aa23a936fcf0c5198
3
+ metadata.gz: 46335e859496495aa89ec41761c075ca52ae26b8
4
+ data.tar.gz: 5f1e249841e1c461ed0050e8547860d46b63694a
5
5
  SHA512:
6
- metadata.gz: 60999a80ac6de67b64f0853c39a5d22413c011beeb5082dde7a52d7e3ab0ca4ecdbd4acbdff404e81123e3f1213b4a97b585b1c675637eebe57058566ed7e8cf
7
- data.tar.gz: 0161738966bc4b9803f56de58a7aa2b51c82d852627064fe4f7dbe637cbf57cd76bdfadea34dcc523b4d0ca7204c9b38270de42e2a11d584d4036ae597541525
6
+ metadata.gz: f32c51610f836a773e9955d9da978cff7c53c583e00a6bd3d06510281edc146a87f4622e8b09c2fa6a842cf7f33843c1def2224c0608636ffc36e0f39457ea08
7
+ data.tar.gz: 5f0294841ffe4f3218a78ec16cd45544f0b1ab0d020bd07cec60b86d9fcf1ce93a96a271ffc17a6dbfe94ef2775d90166bf9cf7112951569a72390dbacf9534b
@@ -1 +1 @@
1
- 2.2.3
1
+ 2.2.4
data/README.md CHANGED
@@ -20,10 +20,19 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- kisi = Kisi::Client.new "KISI_TOKEN" # initialize kisi client
24
- doors = kisi.get_doors # the list of doors as per kisi response
25
- doors[0]['name'] # name/description of the first door in the list
26
- kisi.open_door(doors[0]) # open the first door
23
+ ```ruby
24
+ # Initialize KISI Client
25
+ kisi = Kisi::Client.new "KISI_TOKEN"
26
+
27
+ # Get the list (array) of doors
28
+ doors = kisi.get_doors
29
+
30
+ # The name/description of the first door in the list
31
+ doors.first['name']
32
+
33
+ # Open the first door
34
+ kisi.open_door(doors.first)
35
+ ```
27
36
 
28
37
  ## Where is my KISI Token?
29
38
 
@@ -4,7 +4,7 @@ require 'httparty'
4
4
  module Kisi
5
5
  class Client
6
6
  include HTTParty
7
- base_uri 'https://my.getkisi.com/api'
7
+ base_uri 'https://api.getkisi.com'
8
8
  attr_reader :token
9
9
 
10
10
  def initialize(token)
@@ -1,5 +1,5 @@
1
1
  module Kisi
2
2
  class Client
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kisi-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yevhen V.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-25 00:00:00.000000000 Z
11
+ date: 2016-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty