Class: GovKit::Mention

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#dateObject

Returns the value of attribute date.



30
31
32
# File 'lib/gov_kit.rb', line 30

def date
  @date
end

#excerptObject

Returns the value of attribute excerpt.



30
31
32
# File 'lib/gov_kit.rb', line 30

def excerpt
  @excerpt
end

#search_sourceObject

Returns the value of attribute search_source.



30
31
32
# File 'lib/gov_kit.rb', line 30

def search_source
  @search_source
end

#sourceObject

Returns the value of attribute source.



30
31
32
# File 'lib/gov_kit.rb', line 30

def source
  @source
end

#titleObject

Returns the value of attribute title.



30
31
32
# File 'lib/gov_kit.rb', line 30

def title
  @title
end

#urlObject

Returns the value of attribute url.



30
31
32
# File 'lib/gov_kit.rb', line 30

def url
  @url
end

#weightObject

Returns the value of attribute weight.



30
31
32
# File 'lib/gov_kit.rb', line 30

def weight
  @weight
end