Method: Ayadn::Endpoints#mentions

Defined in:
lib/ayadn/endpoints.rb

#mentions(username, options) ⇒ Object



108
109
110
111
112
113
# File 'lib/ayadn/endpoints.rb', line 108

def mentions(username, options)
  make_options_list_simple(options) do
    API.build_query({count: Settings.options.counts.mentions})
  end
  "#{@users_url}#{username}/mentions/?access_token=#{Settings.user_token}#{@options_list}"
end