Class: EzPaaS::HTTP::HTTPClient

Inherits:
Object
  • Object
show all
Defined in:
lib/ezpaas/http/http_client.rb

Direct Known Subclasses

RESTClient, SSEClient

Defined Under Namespace

Classes: HTTPError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url) ⇒ HTTPClient

Returns a new instance of HTTPClient.



12
13
14
# File 'lib/ezpaas/http/http_client.rb', line 12

def initialize(url)
  @url = url
end

Instance Attribute Details

#urlObject (readonly)

Returns the value of attribute url.



10
11
12
# File 'lib/ezpaas/http/http_client.rb', line 10

def url
  @url
end