Sha256: aa5eee0cf5f1114f998f3d00e3b3e7b93ca70dfc85b8751d477b8bff75e0a0ed
Contents?: true
Size: 900 Bytes
Versions: 39
Compression:
Stored size: 900 Bytes
Contents
module Inferno module Entities # A `Message` represents a message generated during a test. # # @!attribute id # @return [String] id of the message # @!attribute index # @return [String] index of the message. Used for ordering. # @!attribute result_id # @return [String] # @!attribute result # @return [Inferno::Entities::Result] # @!attribute type # @return [String] # @!attribute message # @return [String] # @!attribute created_at # @return [Time] # @!attribute updated_at # @return [Time] class Message < Entity ATTRIBUTES = [:id, :index, :message, :result_id, :result, :type, :created_at, :updated_at].freeze TYPES = ['error', 'warning', 'info'].freeze include Inferno::Entities::Attributes def initialize(params) super(params, ATTRIBUTES) end end end end
Version data entries
39 entries across 39 versions & 1 rubygems