Class: WCC::Media::LiveStream

Inherits:
Base
  • Object
show all
Defined in:
lib/wcc/media/live_stream.rb

Defined Under Namespace

Classes: Event

Instance Attribute Summary

Attributes inherited from Base

#headers, #raw

Instance Method Summary collapse

Methods inherited from Base

#_links, #id, #initialize, #legacy_id

Methods included from ActiveRecordShim

included

Methods included from Cacheable

#cache_key, hash_cache_key, #last_modified

Constructor Details

This class inherits a constructor from WCC::Media::Base

Instance Method Details

#active?Boolean

Returns:

  • (Boolean)


29
30
31
# File 'lib/wcc/media/live_stream.rb', line 29

def active?
  current_event.present?
end