before_action :set_request_formats
around_action :api_call_handle_error
around_action :api_call_timeout
before_action :set_request_formats
around_action :api_call_handle_error
around_action :api_call_timeout
# Check the arguments are sane
raise OSM::APIBadUserInput, "No id was given" unless params[:id]
raise OSM::APIBadUserInput, "No text was given" if params[:text].blank?
# Check the arguments are sane
raise OSM::APIBadUserInput, "No id was given" unless params[:id]
raise OSM::APIBadUserInput, "No text was given" if params[:text].blank?