class Inferno::Entities::SessionData

`SessionData` represents a piece of saved state for a `TestSession`. These are used to store test inputs and outputs.

@attr_accessor [String] id of the test input @attr_accessor [String] name @attr_accessor [String] value @attr_accessor [String] test_session_id @attr_accessor [Time] created_at @attr_accessor [Time] updated_at

Constants

ATTRIBUTES

Public Class Methods

new(params) click to toggle source
Calls superclass method Inferno::Entities::Entity::new
# File lib/inferno/entities/session_data.rb, line 17
def initialize(params)
  super(params, ATTRIBUTES)
end

Public Instance Methods

to_hash() click to toggle source
# File lib/inferno/entities/session_data.rb, line 21
def to_hash
  {
    id: id,
    name: name,
    value: value,
    test_session_id: test_session_id,
    created_at: created_at,
    updated_at: updated_at
  }
end