Class: Spill::Event
- Inherits:
-
Data
- Object
- Data
- Spill::Event
- Defined in:
- lib/spill/event.rb
Instance Attribute Summary collapse
-
#extra ⇒ Object
readonly
Returns the value of attribute extra.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#ref ⇒ Object
readonly
Returns the value of attribute ref.
-
#repo ⇒ Object
readonly
Returns the value of attribute repo.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(source:, kind:, repo:, title: nil, ref: nil, timestamp: nil, extra: {}) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(source:, kind:, repo:, title: nil, ref: nil, timestamp: nil, extra: {}) ⇒ Event
Returns a new instance of Event.
3 4 5 |
# File 'lib/spill/event.rb', line 3 def initialize(source:, kind:, repo:, title: nil, ref: nil, timestamp: nil, extra: {}) super end |
Instance Attribute Details
#extra ⇒ Object (readonly)
Returns the value of attribute extra
2 3 4 |
# File 'lib/spill/event.rb', line 2 def extra @extra end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
2 3 4 |
# File 'lib/spill/event.rb', line 2 def kind @kind end |
#ref ⇒ Object (readonly)
Returns the value of attribute ref
2 3 4 |
# File 'lib/spill/event.rb', line 2 def ref @ref end |
#repo ⇒ Object (readonly)
Returns the value of attribute repo
2 3 4 |
# File 'lib/spill/event.rb', line 2 def repo @repo end |
#source ⇒ Object (readonly)
Returns the value of attribute source
2 3 4 |
# File 'lib/spill/event.rb', line 2 def source @source end |
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp
2 3 4 |
# File 'lib/spill/event.rb', line 2 def @timestamp end |
#title ⇒ Object (readonly)
Returns the value of attribute title
2 3 4 |
# File 'lib/spill/event.rb', line 2 def title @title end |