stoptoad.rb
# Used by resolve_all to resolve a single error
Used by resolve_all to resolve a single error
Used by resolve_all to resolve a single error
def resolve id    
  try_http_and_https do
    RestClient.put("#{@protocol}://#{@site}.hoptoadapp.com/errors/#{id}?auth_token=#{@key}", :group => { 
      :resolved => true
      },
      :auth_token => @key
      )
  end
end
def resolve id try_http_and_https do RestClient . put ( "#{@protocol}://#{@site}.hoptoadapp.com/errors/#{id}?auth_token=#{@key}" , :group => { :resolved => true } , :auth_token => @key ) end end
Used by resolve_all to resolve a single error
Used by resolve_all to resolve a single error
id