Class: Caliper::Entities::Reading::Frame

Inherits:
DigitalResource show all
Includes:
Targetable
Defined in:
lib/caliper/entities/reading/frame.rb

Instance Attribute Summary collapse

Attributes inherited from DigitalResource

#alignedLearningObjective, #datePublished, #isPartOf, #keywords, #objectType, #version

Attributes inherited from EntityBase

#dateCreated, #dateModified, #description, #extensions, #name

Attributes inherited from Entity

#context, #id, #type

Instance Method Summary collapse

Methods included from Jsonable

#eql?, #from_json, included, #to_json

Constructor Details

#initializeFrame

Returns a new instance of Frame.



33
34
35
36
37
# File 'lib/caliper/entities/reading/frame.rb', line 33

def initialize
	super
	@type = Caliper::Entities::DigitalResourceType::FRAME
	@index = 0
end

Instance Attribute Details

#indexObject

Returns the value of attribute index.



31
32
33
# File 'lib/caliper/entities/reading/frame.rb', line 31

def index
  @index
end