Class: Fog::Brightbox::Compute::Mock

Inherits:
Object
  • Object
show all
Includes:
Shared
Defined in:
lib/fog/brightbox/compute.rb

Overview

TODO:

Implement

The Mock Service allows you to run a fake instance of the Service which makes no real connections.

Constant Summary

Constants included from Shared

Shared::API_URL

Constants included from OAuth2

OAuth2::TWO_FACTOR_HEADER

Instance Attribute Summary

Attributes included from Shared

#scoped_account

Instance Method Summary collapse

Methods included from Shared

#access_token, #access_token_available?, #account, #authenticating_as_user?, #credentials, #default_image, #expires_in, #get_access_token, #get_access_token!, #initialize, #refresh_token, #scoped_account_reset, #two_factor?

Instance Method Details

#request(_method, _path, _expected_responses, _parameters = {}) ⇒ Object



217
218
219
# File 'lib/fog/brightbox/compute.rb', line 217

def request(_method, _path, _expected_responses, _parameters = {})
  _request
end

#request_access_token(_connection, _credentials) ⇒ Object



221
222
223
# File 'lib/fog/brightbox/compute.rb', line 221

def request_access_token(_connection, _credentials)
  _request
end