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

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

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Mock

Returns a new instance of Mock.



106
107
108
109
# File 'lib/rackspace-fog/brightbox/compute.rb', line 106

def initialize(options)
  @brightbox_client_id = options[:brightbox_client_id] || Fog.credentials[:brightbox_client_id]
  @brightbox_secret = options[:brightbox_secret] || Fog.credentials[:brightbox_secret]
end

Instance Method Details

#request(options) ⇒ Object



111
112
113
# File 'lib/rackspace-fog/brightbox/compute.rb', line 111

def request(options)
  raise "Not implemented"
end