Module: RongCloud
- Defined in:
- lib/rong_cloud.rb,
lib/rong_cloud/errors.rb,
lib/rong_cloud/request.rb,
lib/rong_cloud/service.rb,
lib/rong_cloud/signature.rb,
lib/rong_cloud/configuration.rb,
lib/rong_cloud/services/user.rb,
lib/rong_cloud/services/group.rb,
lib/rong_cloud/services/message.rb,
lib/rong_cloud/services/chatroom.rb,
lib/rong_cloud/services/message_recall.rb,
lib/rong_cloud/services/sensitive_word.rb,
lib/rong_cloud/services/history_message.rb,
lib/rong_cloud/services/message_priority.rb,
lib/rong_cloud/services/message/message_channel.rb,
lib/rong_cloud/services/conversation_notification.rb
Overview
global namespace for this SDK
Defined Under Namespace
Modules: Configuration, Request, Services, Signature Classes: AuthenticationFailed, BadRequest, ExceedLimit, InternalServerError, MissingOptionError, RequestError, RequestForbidden, ResourceNotFound, Service, Timeout, TooManyRequests, UnsupportedMessageChannelName
Constant Summary collapse
- HTTP_CODE_TO_ERRORS_MAP =
{ "400" => BadRequest, "401" => AuthenticationFailed, "403" => RequestForbidden, "404" => ResourceNotFound, "405" => ExceedLimit, "429" => TooManyRequests, "500" => InternalServerError, "504" => Timeout }.freeze
Class Method Summary collapse
-
.configure {|RongCloud::Configuration| ... } ⇒ Object
Use this method for connection settings.
Class Method Details
.configure {|RongCloud::Configuration| ... } ⇒ Object
Use this method for connection settings
10 11 12 |
# File 'lib/rong_cloud.rb', line 10 def self.configure(&block) yield RongCloud::Configuration end |