Method: Ayadn::Endpoints#search_annotations

Defined in:
lib/ayadn/endpoints.rb

#search_annotations(anno, options) ⇒ Object



186
187
188
189
190
191
# File 'lib/ayadn/endpoints.rb', line 186

def search_annotations anno, options
  make_options_list_simple(options) do
    API.build_query({count: Settings.options.counts.search})
  end
  "#{@posts_url}search?annotation_types=#{anno}&access_token=#{Settings.user_token}#{@options_list}"
end