class NationBuilder::Tags

Public Instance Methods

controller_name() click to toggle source
# File lib/nation_builder/tags.rb, line 5
def controller_name
  'tags'
end
people(tag) click to toggle source
# File lib/nation_builder/tags.rb, line 9
def people(tag)
  JSON.parse(client.get("#{base_path}/#{CGI.escape(tag.to_s)}").response.env[:body])
end