Class: Sendbird::ApplicationApi
- Inherits:
-
Object
- Object
- Sendbird::ApplicationApi
- Extended by:
- Client
- Defined in:
- lib/sendbird/application_api.rb
Constant Summary collapse
- ENDPOINT =
'applications'.freeze
Constants included from Client
Class Method Summary collapse
- .apns_push_configuration ⇒ Object
- .ccu ⇒ Object
- .create(body) ⇒ Object
- .daily_message_count(params = {}) ⇒ Object
- .dau(params = {}) ⇒ Object
- .destroy ⇒ Object
-
.destroy_all ⇒ Object
Right now this endpoint is failing in there site def view get(path: build_url) end.
- .gcm_push_configuration ⇒ Object
- .list(params = {}) ⇒ Object
- .mau(params = {}) ⇒ Object
- .profanaty(body = {}) ⇒ Object
Methods included from Client
Class Method Details
.apns_push_configuration ⇒ Object
52 53 54 |
# File 'lib/sendbird/application_api.rb', line 52 def apns_push_configuration get(path: build_url('push', 'apns')) end |
.ccu ⇒ Object
32 33 34 |
# File 'lib/sendbird/application_api.rb', line 32 def ccu get(path: build_url('ccu')) end |
.create(body) ⇒ Object
7 8 9 |
# File 'lib/sendbird/application_api.rb', line 7 def create(body) post_http_basic(path: build_url, body: body) end |
.daily_message_count(params = {}) ⇒ Object
44 45 46 |
# File 'lib/sendbird/application_api.rb', line 44 def (params={}) get(path: build_url('daily_count'), params: params) end |
.dau(params = {}) ⇒ Object
40 41 42 |
# File 'lib/sendbird/application_api.rb', line 40 def dau(params={}) get(path: build_url('dau'), params: params) end |
.destroy ⇒ Object
24 25 26 |
# File 'lib/sendbird/application_api.rb', line 24 def destroy delete(path: build_url) end |
.destroy_all ⇒ Object
Right now this endpoint is failing in there site def view
get(path: build_url)
end
20 21 22 |
# File 'lib/sendbird/application_api.rb', line 20 def destroy_all delete_http_basic(path: build_url) end |
.gcm_push_configuration ⇒ Object
48 49 50 |
# File 'lib/sendbird/application_api.rb', line 48 def gcm_push_configuration get(path: build_url('push', 'gcm')) end |
.list(params = {}) ⇒ Object
11 12 13 |
# File 'lib/sendbird/application_api.rb', line 11 def list(params={}) get_http_basic(path: build_url, params: params) end |
.mau(params = {}) ⇒ Object
36 37 38 |
# File 'lib/sendbird/application_api.rb', line 36 def mau(params={}) get(path: build_url('mau'), params: params) end |
.profanaty(body = {}) ⇒ Object
28 29 30 |
# File 'lib/sendbird/application_api.rb', line 28 def profanaty(body={}) put(path: build_url('profanity'), body: body) end |