Class: Reverb::Service::Client
- Inherits:
-
Object
- Object
- Reverb::Service::Client
- Defined in:
- lib/reverb/service/client.rb,
lib/reverb/service/client/version.rb
Defined Under Namespace
Classes: BadResponseError, NotFoundError, ServiceUnavailableError
Constant Summary collapse
- VERSION =
"0.1.0"
Instance Method Summary collapse
-
#initialize(service_url, timeout: 5) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(service_url, timeout: 5) ⇒ Client
Returns a new instance of Client.
15 16 17 18 |
# File 'lib/reverb/service/client.rb', line 15 def initialize(service_url, timeout: 5) @service_url = service_url @timeout = timeout end |