Class: GovKit::OpenCongress::BlogPost

Inherits:
OpenCongressObject show all
Defined in:
lib/gov_kit/open_congress/blog_post.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from OpenCongressObject

construct_url, hash2get, make_call, parse_supporting_results

Constructor Details

#initialize(params) ⇒ BlogPost

Returns a new instance of BlogPost.



8
9
10
# File 'lib/gov_kit/open_congress/blog_post.rb', line 8

def initialize(params)
  super BlogPost, params
end

Instance Attribute Details

#average_ratingObject

Returns the value of attribute average_rating.



6
7
8
# File 'lib/gov_kit/open_congress/blog_post.rb', line 6

def average_rating
  @average_rating
end

#dateObject

Returns the value of attribute date.



6
7
8
# File 'lib/gov_kit/open_congress/blog_post.rb', line 6

def date
  @date
end

#excerptObject

Returns the value of attribute excerpt.



6
7
8
# File 'lib/gov_kit/open_congress/blog_post.rb', line 6

def excerpt
  @excerpt
end

#sourceObject

Returns the value of attribute source.



6
7
8
# File 'lib/gov_kit/open_congress/blog_post.rb', line 6

def source
  @source
end

#source_urlObject

Returns the value of attribute source_url.



6
7
8
# File 'lib/gov_kit/open_congress/blog_post.rb', line 6

def source_url
  @source_url
end

#titleObject

Returns the value of attribute title.



6
7
8
# File 'lib/gov_kit/open_congress/blog_post.rb', line 6

def title
  @title
end

#urlObject

Returns the value of attribute url.



6
7
8
# File 'lib/gov_kit/open_congress/blog_post.rb', line 6

def url
  @url
end