Class: NPR::Byline
Overview
Byline represents a listing of the author(s) of an NPR story. From a byline, you have access to:
-
id
- unique ID of the byline -
name
- the author’s name -
person
- the NPR ID of the author -
links
- links to all content from a particular author
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#links ⇒ Object
Returns the value of attribute links.
-
#name ⇒ Object
Returns the value of attribute name.
-
#person ⇒ Object
Returns the value of attribute person.
Method Summary
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.
11 12 13 |
# File 'lib/rubynpr/byline.rb', line 11 def id @id end |
#links ⇒ Object
Returns the value of attribute links.
11 12 13 |
# File 'lib/rubynpr/byline.rb', line 11 def links @links end |
#name ⇒ Object
Returns the value of attribute name.
11 12 13 |
# File 'lib/rubynpr/byline.rb', line 11 def name @name end |
#person ⇒ Object
Returns the value of attribute person.
11 12 13 |
# File 'lib/rubynpr/byline.rb', line 11 def person @person end |