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 +4 -4
- data/README.md +2 -1
- data/lib/sendbird/user_api.rb +4 -0
- data/lib/sendbird/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f9309d8d962f105c291bf02cc4fe16950693ff74
|
|
4
|
+
data.tar.gz: 1a96fb5eafcf935d5adff257ab1dcdfc843c6832
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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)
|
data/lib/sendbird/user_api.rb
CHANGED
data/lib/sendbird/version.rb
CHANGED
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.
|
|
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:
|
|
11
|
+
date: 2017-10-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|