Class: Maildrop::HTTP

Inherits:
Object
  • Object
show all
Defined in:
lib/maildrop/http.rb

Defined Under Namespace

Classes: NotFound, RequestError

Instance Method Summary collapse

Instance Method Details

#get(url) ⇒ Object



6
7
8
9
# File 'lib/maildrop/http.rb', line 6

def get(url)
  response = request(url)
  handle_response(response)
end