Class: Fog::Brightbox::Compute::Mock
- Inherits:
-
Object
- Object
- Fog::Brightbox::Compute::Mock
- Defined in:
- lib/fog/compute/brightbox.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Mock
constructor
A new instance of Mock.
- #request(options) ⇒ Object
Constructor Details
#initialize(options) ⇒ Mock
Returns a new instance of Mock.
76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/fog/compute/brightbox.rb', line 76 def initialize() unless .delete(:provider) location = caller.first warning = "[yellow][WARN] Fog::Brightbox::Compute.new is deprecated, use Fog::Compute.new(:provider => 'Brightbox') instead[/]" warning << " [light_black](" << location << ")[/] " Formatador.display_line(warning) end @brightbox_client_id = [:brightbox_client_id] || Fog.credentials[:brightbox_client_id] @brightbox_secret = [:brightbox_secret] || Fog.credentials[:brightbox_secret] end |
Instance Method Details
#request(options) ⇒ Object
88 89 90 |
# File 'lib/fog/compute/brightbox.rb', line 88 def request() raise "Not implemented" end |