Class: Caliper::Entities::Reading::WebPage
- Inherits:
-
DigitalResource
- Object
- Entity
- EntityBase
- DigitalResource
- Caliper::Entities::Reading::WebPage
- Includes:
- SchemaDotOrg::WebPage
- Defined in:
- lib/caliper/entities/reading/web_page.rb
Instance Attribute Summary
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 ⇒ WebPage
constructor
A new instance of WebPage.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ WebPage
Returns a new instance of WebPage.
31 32 33 34 |
# File 'lib/caliper/entities/reading/web_page.rb', line 31 def initialize() super @type = Caliper::Entities::DigitalResourceType::WEB_PAGE end |