Sha256: e2032cc6615840526653326b4ac3267276e8f4601f20f7cd6e100ecec8143eb0
Contents?: true
Size: 726 Bytes
Versions: 2
Compression:
Stored size: 726 Bytes
Contents
# typed: strict # frozen_string_literal: true module Vigiles class ConversationRecorder class MisconfiguredRecorderError < StandardError sig { returns(String) } attr_reader :expected sig { returns(String) } attr_reader :actual sig { params(expected: String, actual: String).void } def initialize(expected:, actual:) @expected = expected @actual = actual super end end abstract! sig { abstract.params(req: ActionDispatch::Request).void } def ensure_content_type_matches!(req); end sig { abstract.params(req: ActionDispatch::Request, res: Rack::Response).returns(Archive::Conversation) } def record(req:, res:); end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vigiles-0.1.5 | lib/vigiles/conversation_recorder.rb |
vigiles-0.1.4 | lib/vigiles/conversation_recorder.rb |