Class: NPR::StoryList
Overview
StoryList contains a listing of all the stories returned for a particular query performed through either NPR::Client#query or NPR::Client#list.
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#list ⇒ Object
Returns the value of attribute list.
-
#mini_teaser ⇒ Object
Returns the value of attribute mini_teaser.
-
#teaser ⇒ Object
Returns the value of attribute teaser.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
Methods inherited from Content
Constructor Details
This class inherits a constructor from NPR::Content
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
23 24 25 |
# File 'lib/rubynpr/list.rb', line 23 def id @id end |
#list ⇒ Object
Returns the value of attribute list.
23 24 25 |
# File 'lib/rubynpr/list.rb', line 23 def list @list end |
#mini_teaser ⇒ Object
Returns the value of attribute mini_teaser.
23 24 25 |
# File 'lib/rubynpr/list.rb', line 23 def @mini_teaser end |
#teaser ⇒ Object
Returns the value of attribute teaser.
23 24 25 |
# File 'lib/rubynpr/list.rb', line 23 def @teaser end |
#title ⇒ Object
Returns the value of attribute title.
23 24 25 |
# File 'lib/rubynpr/list.rb', line 23 def title @title end |
Instance Method Details
#stories ⇒ Object
25 26 27 |
# File 'lib/rubynpr/list.rb', line 25 def stories @list end |