Class: LeanCloud::LeanHTTP
- Inherits:
-
LeanObject
- Object
- LeanObject
- LeanCloud::LeanHTTP
- Defined in:
- lib/leancloud/http/lean_http.rb
Overview
LeanCloud HTTP manager
Direct Known Subclasses
Constant Summary collapse
- DOMAINS =
{ "cn" => 'api.leancloud.cn', "us" => 'avoscloud.us' }
- BASE_URL_FMT =
'https://%{domain}/1.1/'
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ LeanHTTP
constructor
A new instance of LeanHTTP.
Methods inherited from LeanObject
#exit_with_error, #exit_with_info, #show_error, #show_message, #show_success
Constructor Details
#initialize(opts = {}) ⇒ LeanHTTP
Returns a new instance of LeanHTTP.
15 16 17 |
# File 'lib/leancloud/http/lean_http.rb', line 15 def initialize(opts = {}) = opts end |