class GdsApi::ContentApi
def tag(tag, tag_type=nil)
def tag(tag, tag_type=nil) url = "#{base_url}/tags" if tag_type url << "/#{CGI.escape(tag_type)}" end get_json("#{url}/#{CGI.escape(tag)}.json") end
def tag(tag, tag_type=nil) url = "#{base_url}/tags" if tag_type url << "/#{CGI.escape(tag_type)}" end get_json("#{url}/#{CGI.escape(tag)}.json") end