sendbird 0.0.2 → 0.0.3

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: 96641c7ad6c001d69d96555bcae0d61fbf6fa3db
4
- data.tar.gz: 7fc0e43271a581040130ff43e7444151c333b3db
3
+ metadata.gz: f9309d8d962f105c291bf02cc4fe16950693ff74
4
+ data.tar.gz: 1a96fb5eafcf935d5adff257ab1dcdfc843c6832
5
5
  SHA512:
6
- metadata.gz: 3dbe8cb40265ff89e2b23ca19875d35860a65d51df3d8b02ba2fe4fe53ff35443cea9b1639cd3e6dea032b1f534bad2764e9be154d6e2a2c7940f1de1ad56431
7
- data.tar.gz: 4244a7940324e66f5a70746cffff360353c79df2f518493d1a01a10a44bc7ff6701345696c8967725a5568b315a8ed4bd8a5511176c80f8300cc5e9cad576920
6
+ metadata.gz: 5b186e7c854d59b6f588feb7a6ad53efdf822d117c6c665c3269d0bf295a4039151f2e753a74bac4f250cf84e919b22366cd5c97a95904de9deb7339add47650
7
+ data.tar.gz: 56557a62ae679e8d2285f3b667ddddd211aebbfb18f9f9b0f610d104fc5775238315488cbdbfaa97b8be73d657674a72a94a169f86708de17c0264419b2970e4
data/README.md CHANGED
@@ -41,7 +41,7 @@ Sendbird.default_app = 'app_name'
41
41
 
42
42
  There are two types of classes inside the Wrapper the one ending with Api, like `Sendbird::UserApi` or `Sendbird::MessageApi`, this classes act like simple wrapper for the Sendbird api.
43
43
 
44
- The Sendbird Api is quite big, to understand how to work with this gem, just remenber that every event from the api map to a class method from that Api class.
44
+ The Sendbird Api is quite big, to understand how to work with this gem, just remember that every event from the api map to a class method from that Api class.
45
45
 
46
46
  Example:
47
47
  ```ruby
@@ -105,6 +105,7 @@ All methods return a `Sendbird::Response` with have the next methods:
105
105
  ```ruby
106
106
  view(user_id)
107
107
  create(body)
108
+ destroy(user_id)
108
109
  list(params={})
109
110
  update(user_id, body)
110
111
  unread_count(user_id)
@@ -20,6 +20,10 @@ module Sendbird
20
20
  put(path: build_url(user_id), body: body)
21
21
  end
22
22
 
23
+ def destroy(user_id)
24
+ delete(path: build_url(user_id))
25
+ end
26
+
23
27
  def unread_count(user_id)
24
28
  get(path: build_url(user_id, 'unread_count'))
25
29
  end
@@ -1,3 +1,3 @@
1
1
  module Sendbird
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendbird
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
  - GustavoCaso
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-22 00:00:00.000000000 Z
11
+ date: 2017-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler