Class: Reverb::Service::Client

Inherits:
Object
  • Object
show all
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

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