Class: Smtpcom::Sendapi::Sender

Inherits:
ApiResource show all
Defined in:
lib/smtpcom/sendapi/sender.rb

Class Method Summary collapse

Methods inherited from ApiResource

#_get, #_get_raw, #_post, build_from_response, #initialize, #prepare_params

Methods included from Request

included

Constructor Details

This class inherits a constructor from Smtpcom::Sendapi::ApiResource

Class Method Details

.allObject



4
5
6
7
8
# File 'lib/smtpcom/sendapi/sender.rb', line 4

def self.all
  _get('/getsenders').map do |row|
    row['Email']
  end
end