Sha256: 86fc2962b0968edfc65d58251e0e3fea6ef8ce48abdf7b8a6d28540decebb60b
Contents?: true
Size: 458 Bytes
Versions: 4
Compression:
Stored size: 458 Bytes
Contents
module RubyRedtail class TagGroups def initialize api_hash @api_hash = api_hash end def fetch(tag_id) RubyRedtail::Query.run("taggroups/#{tag_id}", @api_hash, "GET") end def fetch_contacts(tag_id) RubyRedtail::Query.run("taggroups/#{tag_id}/contacts", @api_hash, "GET") end def fetch_by_contact(contact_id) RubyRedtail::Query.run("contacts/#{contact_id}/taggroups", @api_hash, "GET") end end end
Version data entries
4 entries across 4 versions & 1 rubygems