class Everypolitician::Popolo::Organization

Public Instance Methods

associated_color()
Alias for: srgb
associated_colour()
Alias for: srgb
classification() click to toggle source
# File lib/everypolitician/popolo/organization.rb, line 9
def classification
  document.fetch(:classification, nil)
end
identifiers() click to toggle source
# File lib/everypolitician/popolo/organization.rb, line 13
def identifiers
  document.fetch(:identifiers, [])
end
image() click to toggle source
# File lib/everypolitician/popolo/organization.rb, line 17
def image
  document.fetch(:image, nil)
end
name() click to toggle source
# File lib/everypolitician/popolo/organization.rb, line 25
def name
  document.fetch(:name, nil)
end
other_names() click to toggle source
# File lib/everypolitician/popolo/organization.rb, line 29
def other_names
  document.fetch(:other_names, [])
end
seats() click to toggle source

TODO: this should be pushed into a Legislature class when we split this into Party and Legislature classes

# File lib/everypolitician/popolo/organization.rb, line 35
def seats
  document.fetch(:seats, nil)
end
srgb() click to toggle source
# File lib/everypolitician/popolo/organization.rb, line 39
def srgb
  document.fetch(:srgb, nil)
end