Class: Howitzer::OnesecmailApi::Client
- Inherits:
-
Object
- Object
- Howitzer::OnesecmailApi::Client
- Defined in:
- lib/howitzer/onesecmail_api/client.rb
Overview
A Onesecmail::Client object is used to communicate with the 1secMail API.
Constant Summary collapse
- BASE_URL =
:nodoc:
'https://www.1secmail.com/api/v1/'.freeze
Instance Method Summary collapse
-
#find_message(recipient, subject) ⇒ Hash
Finds message according to given parameters.
Instance Method Details
#find_message(recipient, subject) ⇒ Hash
Finds message according to given parameters
16 17 18 19 |
# File 'lib/howitzer/onesecmail_api/client.rb', line 16 def (recipient, subject) = filter_by_subject(recipient[/[^@]+/], subject) () end |