Class: NPR::StoryList

Inherits:
Content show all
Defined in:
lib/rubynpr/list.rb

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

Instance Method Summary collapse

Methods inherited from Content

#initialize

Constructor Details

This class inherits a constructor from NPR::Content

Instance Attribute Details

#idObject

Returns the value of attribute id.



23
24
25
# File 'lib/rubynpr/list.rb', line 23

def id
  @id
end

#listObject

Returns the value of attribute list.



23
24
25
# File 'lib/rubynpr/list.rb', line 23

def list
  @list
end

#mini_teaserObject

Returns the value of attribute mini_teaser.



23
24
25
# File 'lib/rubynpr/list.rb', line 23

def mini_teaser
  @mini_teaser
end

#teaserObject

Returns the value of attribute teaser.



23
24
25
# File 'lib/rubynpr/list.rb', line 23

def teaser
  @teaser
end

#titleObject

Returns the value of attribute title.



23
24
25
# File 'lib/rubynpr/list.rb', line 23

def title
  @title
end

Instance Method Details

#storiesObject



25
26
27
# File 'lib/rubynpr/list.rb', line 25

def stories
  @list
end