Class: Ruboty::ToggleSwitch::Storage::Record

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruboty/toggle_switch/storage.rb

Instance Attribute Summary collapse

Instance Attribute Details

#atObject

Returns the value of attribute at

Returns:

  • (Object)

    the current value of at



4
5
6
# File 'lib/ruboty/toggle_switch/storage.rb', line 4

def at
  @at
end

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



4
5
6
# File 'lib/ruboty/toggle_switch/storage.rb', line 4

def from
  @from
end

#noteObject

Returns the value of attribute note

Returns:

  • (Object)

    the current value of note



4
5
6
# File 'lib/ruboty/toggle_switch/storage.rb', line 4

def note
  @note
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



4
5
6
# File 'lib/ruboty/toggle_switch/storage.rb', line 4

def state
  @state
end