Exception: StripeMock::UninitializedInstanceError

Inherits:
StripeMockError
  • Object
show all
Defined in:
lib/stripe_mock/errors/uninitialized_instance_error.rb

Instance Attribute Summary

Attributes inherited from StripeMockError

#message

Instance Method Summary collapse

Methods inherited from StripeMockError

#to_s

Constructor Details

#initializeUninitializedInstanceError

Returns a new instance of UninitializedInstanceError.



4
5
6
# File 'lib/stripe_mock/errors/uninitialized_instance_error.rb', line 4

def initialize
  super("StripeMock instance is nil (did you forget to call `StripeMock.start`?)")
end