Class: FFWD::EventStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/ffwd/event.rb

Overview

Struct used to define all fields related to an event.

Direct Known Subclasses

Event

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



18
19
20
# File 'lib/ffwd/event.rb', line 18

def attributes
  @attributes
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



18
19
20
# File 'lib/ffwd/event.rb', line 18

def description
  @description
end

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



18
19
20
# File 'lib/ffwd/event.rb', line 18

def host
  @host
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



18
19
20
# File 'lib/ffwd/event.rb', line 18

def key
  @key
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



18
19
20
# File 'lib/ffwd/event.rb', line 18

def source
  @source
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



18
19
20
# File 'lib/ffwd/event.rb', line 18

def state
  @state
end

#tagsObject

Returns the value of attribute tags

Returns:

  • (Object)

    the current value of tags



18
19
20
# File 'lib/ffwd/event.rb', line 18

def tags
  @tags
end

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



18
19
20
# File 'lib/ffwd/event.rb', line 18

def time
  @time
end

#ttlObject

Returns the value of attribute ttl

Returns:

  • (Object)

    the current value of ttl



18
19
20
# File 'lib/ffwd/event.rb', line 18

def ttl
  @ttl
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



18
19
20
# File 'lib/ffwd/event.rb', line 18

def value
  @value
end