Exception: Vigiles::ConversationRecorder::MisconfiguredRecorderError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/vigiles/conversation_recorder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(expected:, actual:) ⇒ MisconfiguredRecorderError

Returns a new instance of MisconfiguredRecorderError.



14
15
16
17
18
# File 'lib/vigiles/conversation_recorder.rb', line 14

def initialize(expected:, actual:)
  @expected = expected
  @actual = actual
  super
end

Instance Attribute Details

#actualObject (readonly)

Returns the value of attribute actual.



11
12
13
# File 'lib/vigiles/conversation_recorder.rb', line 11

def actual
  @actual
end

#expectedObject (readonly)

Returns the value of attribute expected.



8
9
10
# File 'lib/vigiles/conversation_recorder.rb', line 8

def expected
  @expected
end