lib/ayadn/api.rb in ayadn-1.2.7 vs lib/ayadn/api.rb in ayadn-1.2.8

- old
+ new

@@ -87,9 +87,25 @@ def get_search(words, options) get_parsed_response(Endpoints.new.search(words, options)) end + def search_users words, options + get_parsed_response(Endpoints.new.search_users(words, options)) + end + + def search_annotations words, options + get_parsed_response(Endpoints.new.search_annotations(words, options)) + end + + def search_channels words, options + get_parsed_response(Endpoints.new.search_channels(words, options)) + end + + def search_messages channel_id, words, options + get_parsed_response(Endpoints.new.search_messages(channel_id, words, options)) + end + def get_followings(username) build_list(username, :followings) end def get_followers(username)