Class: EzPaaS::HTTP::HTTPClient
- Inherits:
-
Object
- Object
- EzPaaS::HTTP::HTTPClient
- Defined in:
- lib/ezpaas/http/http_client.rb
Direct Known Subclasses
Defined Under Namespace
Classes: HTTPError
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url) ⇒ HTTPClient
constructor
A new instance of HTTPClient.
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
#url ⇒ Object (readonly)
Returns the value of attribute url.
10 11 12 |
# File 'lib/ezpaas/http/http_client.rb', line 10 def url @url end |