Class: Fog::Compute::Ninefold::Mock

Inherits:
Object
  • Object
show all
Defined in:
lib/rackspace-fog/ninefold/compute.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Mock

Returns a new instance of Mock.



65
66
67
68
69
# File 'lib/rackspace-fog/ninefold/compute.rb', line 65

def initialize(options)
  @api_url = options[:ninefold_api_url] || Fog.credentials[:ninefold_api_url] || API_URL
  @ninefold_compute_key = options[:ninefold_compute_key] || Fog.credentials[:ninefold_compute_key]
  @ninefold_compute_secret = options[:ninefold_compute_secret] || Fog.credentials[:ninefold_compute_secret]
end

Instance Method Details

#request(options) ⇒ Object



71
72
73
# File 'lib/rackspace-fog/ninefold/compute.rb', line 71

def request(options)
  raise "Not implemented"
end