Class: GovKit::Mention
- Inherits:
-
Object
- Object
- GovKit::Mention
- Defined in:
- lib/gov_kit.rb
Overview
Convenience class to represent a news story or blog post. Used by GovKit::SearchEngines classes.
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#excerpt ⇒ Object
Returns the value of attribute excerpt.
-
#search_source ⇒ Object
Returns the value of attribute search_source.
-
#source ⇒ Object
Returns the value of attribute source.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
-
#weight ⇒ Object
Returns the value of attribute weight.
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date.
30 31 32 |
# File 'lib/gov_kit.rb', line 30 def date @date end |
#excerpt ⇒ Object
Returns the value of attribute excerpt.
30 31 32 |
# File 'lib/gov_kit.rb', line 30 def excerpt @excerpt end |
#search_source ⇒ Object
Returns the value of attribute search_source.
30 31 32 |
# File 'lib/gov_kit.rb', line 30 def search_source @search_source end |
#source ⇒ Object
Returns the value of attribute source.
30 31 32 |
# File 'lib/gov_kit.rb', line 30 def source @source end |
#title ⇒ Object
Returns the value of attribute title.
30 31 32 |
# File 'lib/gov_kit.rb', line 30 def title @title end |
#url ⇒ Object
Returns the value of attribute url.
30 31 32 |
# File 'lib/gov_kit.rb', line 30 def url @url end |
#weight ⇒ Object
Returns the value of attribute weight.
30 31 32 |
# File 'lib/gov_kit.rb', line 30 def weight @weight end |