Module: Fog::Mock
- Defined in:
- lib/fog.rb
Class Method Summary collapse
Class Method Details
.delay ⇒ Object
47 48 49 |
# File 'lib/fog.rb', line 47 def self.delay @delay end |
.delay=(new_delay) ⇒ Object
51 52 53 54 |
# File 'lib/fog.rb', line 51 def self.delay=(new_delay) raise ArgumentError, "delay must be non-negative" unless new_delay >= 0 @delay = new_delay end |
.not_implemented ⇒ Object
56 57 58 |
# File 'lib/fog.rb', line 56 def self.not_implemented raise Fog::Errors::MockNotImplemented.new("Contributions welcome!") end |