Sha256: 1cbc4e59aa2dd4e0e0f66cceaaff0a8641d26313db7ceed7b91a033c5dcb806e
Contents?: true
Size: 979 Bytes
Versions: 33
Compression:
Stored size: 979 Bytes
Contents
module Inferno module Entities # `SessionData` represents a piece of saved state for a `TestSession`. # These are used to store test inputs and outputs. # # @!attribute id # @return [String] id of the test input # @!attribute name # @return [String] # @!attribute value # @return [String] # @!attribute test_session_id # @return [String] # @!attribute created_at # @return [Time] # @!attribute updated_at # @return [Time] class SessionData < Entity ATTRIBUTES = [:id, :name, :value, :test_session_id, :created_at, :updated_at].freeze include Inferno::Entities::Attributes def initialize(params) super(params, ATTRIBUTES) end def to_hash { id: id, name: name, value: value, test_session_id: test_session_id, created_at: created_at, updated_at: updated_at } end end end end
Version data entries
33 entries across 33 versions & 1 rubygems