Module: GettyUp

Extended by:
Configurable
Defined in:
lib/getty_up.rb,
lib/getty_up/client.rb,
lib/getty_up/version.rb,
lib/getty_up/api/util.rb,
lib/getty_up/configurable.rb,
lib/getty_up/api/renew_session.rb,
lib/getty_up/api/create_session.rb,
lib/getty_up/api/get_image_details.rb,
lib/getty_up/api/search_for_images.rb,
lib/getty_up/api/create_download_request.rb,
lib/getty_up/api/get_largest_image_download_authorization.rb

Defined Under Namespace

Modules: API, Configurable Classes: Client

Constant Summary collapse

VERSION =
"0.0.3"

Instance Attribute Summary

Attributes included from Configurable

#api_password, #api_username, #secret_token, #status, #system_id, #system_password, #token, #token_duration, #token_expiration

Class Method Summary collapse

Methods included from Configurable

configure, credentials, keys

Class Method Details

.clientObject



11
12
13
# File 'lib/getty_up.rb', line 11

def client
  @client = GettyUp::Client.new(options) unless defined?(@client) && @client.hash == options.hash
end