Class: NewsApi::Source
- Inherits:
-
Struct
- Object
- Struct
- NewsApi::Source
- Defined in:
- lib/chid/news_api.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category
5 6 7 |
# File 'lib/chid/news_api.rb', line 5 def category @category end |
#description ⇒ Object
Returns the value of attribute description
5 6 7 |
# File 'lib/chid/news_api.rb', line 5 def description @description end |
#id ⇒ Object
Returns the value of attribute id
5 6 7 |
# File 'lib/chid/news_api.rb', line 5 def id @id end |
#name ⇒ Object
Returns the value of attribute name
5 6 7 |
# File 'lib/chid/news_api.rb', line 5 def name @name end |