Sha256: 97c250e2f81c88294299325aa8f91893fc5e6f81f6b0b8117f5da43f2766f134
Contents?: true
Size: 771 Bytes
Versions: 12
Compression:
Stored size: 771 Bytes
Contents
module LogStash module Filters module Empow class AbstractResponse attr_reader :response, :is_successful, :is_final def initialize(response, is_successful, is_final) @response = response @is_successful = is_successful @is_final = is_final end end class FailureResponse < AbstractResponse def initialize(response) super(response, false, true) end end class UnauthorizedReponse < FailureResponse end class SuccessfulResponse < AbstractResponse def initialize(response) super(response, true, true) end end class InProgressResponse < AbstractResponse def initialize(response) super(response, true, false) end end end end end
Version data entries
12 entries across 12 versions & 2 rubygems