Sha256: 5506907f32c58aebac6421466f6ee1f5252780c1487ed3e91cc26c7d5b842a03

Contents?: true

Size: 267 Bytes

Versions: 3

Compression:

Stored size: 267 Bytes

Contents

module NationBuilder
  class Tags < RemoteController
    include NationBuilder::Actions::List

    def controller_name
      'tags'
    end

    def people(tag)
      JSON.parse(client.get("#{base_path}/#{CGI.escape(tag.to_s)}").response.env[:body])
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nation_builder-0.0.17 lib/nation_builder/tags.rb
nation_builder-0.0.16 lib/nation_builder/tags.rb
nation_builder-0.0.15 lib/nation_builder/tags.rb