Class: Caliper::Entities::Media::MediaLocation
- Inherits:
-
DigitalResource
- Object
- Entity
- EntityBase
- DigitalResource
- Caliper::Entities::Media::MediaLocation
- Defined in:
- lib/caliper/entities/media/media_location.rb
Instance Attribute Summary collapse
-
#currentTime ⇒ Object
Returns the value of attribute currentTime.
Attributes inherited from DigitalResource
#alignedLearningObjective, #datePublished, #isPartOf, #keywords, #objectType, #version
Attributes inherited from EntityBase
#dateCreated, #dateModified, #description, #extensions, #name
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ MediaLocation
constructor
A new instance of MediaLocation.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ MediaLocation
Returns a new instance of MediaLocation.
31 32 33 34 35 |
# File 'lib/caliper/entities/media/media_location.rb', line 31 def initialize super @type = Caliper::Entities::DigitalResourceType::MEDIA_LOCATION @currentTime = nil end |
Instance Attribute Details
#currentTime ⇒ Object
Returns the value of attribute currentTime.
29 30 31 |
# File 'lib/caliper/entities/media/media_location.rb', line 29 def currentTime @currentTime end |