Class: Harkness::EventList
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- Harkness::EventList
- Defined in:
- lib/harkness/models/event_list.rb
Overview
A list of events.
Instance Attribute Summary collapse
-
#available ⇒ Integer
readonly
The number of total available events in this list.
-
#collectionURI ⇒ String
readonly
The path to the full list of events in this collection.
-
#items ⇒ Array<Harkness::EventSummary>
readonly
The list of returned characters in this collection.
-
#returned ⇒ Integer
readonly
The number of events returned in this collection (up to 20).
Instance Attribute Details
#available ⇒ Integer (readonly)
Returns the number of total available events in this list. Will always be greater than or equal to the "returned" value.
13 |
# File 'lib/harkness/models/event_list.rb', line 13 attribute :available, Shale::Type::Integer |
#collectionURI ⇒ String (readonly)
Returns the path to the full list of events in this collection.
19 |
# File 'lib/harkness/models/event_list.rb', line 19 attribute :collectionURI, Shale::Type::String |
#items ⇒ Array<Harkness::EventSummary> (readonly)
Returns the list of returned characters in this collection.
22 |
# File 'lib/harkness/models/event_list.rb', line 22 attribute :items, Harkness::EventSummary, collection: true |
#returned ⇒ Integer (readonly)
Returns the number of events returned in this collection (up to 20).
16 |
# File 'lib/harkness/models/event_list.rb', line 16 attribute :returned, Shale::Type::Integer |