1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Allow custom Mock.not_implemented message

This commit is contained in:
Mike Pountney 2013-12-11 00:51:51 +00:00
parent 8085a59f86
commit 9f10489dd6

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