Module: Ivapi

Extended by:
Configuration
Defined in:
lib/ivapi.rb,
lib/ivapi/mash.rb,
lib/ivapi/error.rb,
lib/ivapi/client.rb,
lib/ivapi/default.rb,
lib/ivapi/version.rb,
lib/ivapi/client/base.rb,
lib/ivapi/client/server.rb,
lib/ivapi/configuration.rb,
lib/ivapi/authentication.rb,
lib/ivapi/client/account.rb,
lib/ivapi/client/hosting.rb,
lib/ivapi/response/raise_error.rb,
lib/ivapi/response/rename_keys.rb

Defined Under Namespace

Modules: Authentication, Configuration, Default, Response Classes: BadRequest, Client, Error, Forbidden, Mash, Unauthorized

Constant Summary collapse

VERSION =
'1.9.0'

Instance Attribute Summary

Attributes included from Configuration

#api_endpoint, #connection_options, #hosting_id, #password, #server_id, #user_agent, #username, #web_endpoint

Class Method Summary collapse

Methods included from Configuration

configure, each_key, keys, reset!

Class Method Details

.clientObject



10
11
12
13
14
# File 'lib/ivapi.rb', line 10

def client
  @client = Ivapi::Client.new(options) unless defined?(@client) && @client.same_options?(options)

  @client
end