Class: Ace::Demo::Models::CastRecording
- Inherits:
-
Object
- Object
- Ace::Demo::Models::CastRecording
- Defined in:
- lib/ace/demo/models/cast_recording.rb
Instance Attribute Summary collapse
-
#events ⇒ Object
readonly
Returns the value of attribute events.
-
#header ⇒ Object
readonly
Returns the value of attribute header.
Instance Method Summary collapse
-
#initialize(header:, events:) ⇒ CastRecording
constructor
A new instance of CastRecording.
Constructor Details
#initialize(header:, events:) ⇒ CastRecording
Returns a new instance of CastRecording.
9 10 11 12 |
# File 'lib/ace/demo/models/cast_recording.rb', line 9 def initialize(header:, events:) @header = header @events = events end |
Instance Attribute Details
#events ⇒ Object (readonly)
Returns the value of attribute events.
7 8 9 |
# File 'lib/ace/demo/models/cast_recording.rb', line 7 def events @events end |
#header ⇒ Object (readonly)
Returns the value of attribute header.
7 8 9 |
# File 'lib/ace/demo/models/cast_recording.rb', line 7 def header @header end |