Class: Everypolitician::Popolo::Post

Inherits:
Entity
  • Object
show all
Defined in:
lib/everypolitician/popolo/post.rb

Instance Attribute Summary collapse

Attributes inherited from Entity

#document, #id

Method Summary

Methods inherited from Entity

#==, #[], #initialize, #key?

Constructor Details

This class inherits a constructor from Everypolitician::Popolo::Entity

Instance Attribute Details

#labelObject (readonly)

Returns the value of attribute label.



5
6
7
# File 'lib/everypolitician/popolo/post.rb', line 5

def label
  @label
end