Exception: StripeMock::UnstartedStateError

Inherits:
StripeMockError show all
Defined in:
lib/stripe_mock/errors/unstarted_state_error.rb

Instance Attribute Summary

Attributes inherited from StripeMockError

#message

Instance Method Summary collapse

Methods inherited from StripeMockError

#to_s

Constructor Details

#initializeUnstartedStateError

Returns a new instance of UnstartedStateError.



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

def initialize
  super("StripeMock has not been started. Please call StripeMock.start or StripeMock.start_client")
end