Class: Lookback::Backends::Snapshot::Version
- Inherits:
-
Struct
- Object
- Struct
- Lookback::Backends::Snapshot::Version
- Defined in:
- lib/lookback/backends.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#event ⇒ Object
Returns the value of attribute event.
-
#number ⇒ Object
Returns the value of attribute number.
-
#recorded_at ⇒ Object
Returns the value of attribute recorded_at.
Instance Method Summary collapse
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes
9 10 11 |
# File 'lib/lookback/backends.rb', line 9 def attributes @attributes end |
#event ⇒ Object
Returns the value of attribute event
9 10 11 |
# File 'lib/lookback/backends.rb', line 9 def event @event end |
#number ⇒ Object
Returns the value of attribute number
9 10 11 |
# File 'lib/lookback/backends.rb', line 9 def number @number end |
#recorded_at ⇒ Object
Returns the value of attribute recorded_at
9 10 11 |
# File 'lib/lookback/backends.rb', line 9 def recorded_at @recorded_at end |
Instance Method Details
#to_h ⇒ Object
10 |
# File 'lib/lookback/backends.rb', line 10 def to_h = { number: number, recorded_at: recorded_at, attributes: attributes, event: event } |