Class: AliyunIot::Request::HttpClient
- Inherits:
-
Object
- Object
- AliyunIot::Request::HttpClient
- Defined in:
- lib/aliyun_iot/request/http_client.rb
Instance Attribute Summary collapse
-
#base ⇒ Object
readonly
Returns the value of attribute base.
Instance Method Summary collapse
-
#initialize(base) ⇒ HttpClient
constructor
A new instance of HttpClient.
Constructor Details
#initialize(base) ⇒ HttpClient
Returns a new instance of HttpClient.
5 6 7 |
# File 'lib/aliyun_iot/request/http_client.rb', line 5 def initialize(base) @base = RestClient::Resource.new base end |
Instance Attribute Details
#base ⇒ Object (readonly)
Returns the value of attribute base.
4 5 6 |
# File 'lib/aliyun_iot/request/http_client.rb', line 4 def base @base end |