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.



40
41
42
# File 'lib/gov_kit.rb', line 40

def date
  @date
end

#excerptObject

Returns the value of attribute excerpt.



40
41
42
# File 'lib/gov_kit.rb', line 40

def excerpt
  @excerpt
end

#search_sourceObject

Returns the value of attribute search_source.



40
41
42
# File 'lib/gov_kit.rb', line 40

def search_source
  @search_source
end

#sourceObject

Returns the value of attribute source.



40
41
42
# File 'lib/gov_kit.rb', line 40

def source
  @source
end

#titleObject

Returns the value of attribute title.



40
41
42
# File 'lib/gov_kit.rb', line 40

def title
  @title
end

#urlObject

Returns the value of attribute url.



40
41
42
# File 'lib/gov_kit.rb', line 40

def url
  @url
end

#weightObject

Returns the value of attribute weight.



40
41
42
# File 'lib/gov_kit.rb', line 40

def weight
  @weight
end