Class: AliyunIot::Request::HttpClient

Inherits:
Object
  • Object
show all
Defined in:
lib/aliyun_iot/request/http_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#baseObject (readonly)

Returns the value of attribute base.



4
5
6
# File 'lib/aliyun_iot/request/http_client.rb', line 4

def base
  @base
end