1
0
Fork 0
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:
Wesley Beary 2013-12-10 19:12:34 -08:00
commit d89564e7fe

View file

@ -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})