mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #2471 from alphagov/allow_mock_not_implemented_message
Allow custom Mock.not_implemented message
This commit is contained in:
commit
d89564e7fe
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ module Fog
|
|||
@delay = new_delay
|
||||
end
|
||||
|
||||
def self.not_implemented
|
||||
raise Fog::Errors::MockNotImplemented.new("Contributions welcome!")
|
||||
def self.not_implemented(message = 'Contributions welcome!')
|
||||
raise Fog::Errors::MockNotImplemented.new(message)
|
||||
end
|
||||
|
||||
def self.random_ip(opts = {:version => :v4})
|
||||
|
|
Loading…
Reference in a new issue