Class: Infobeep::BulkSMSRequest
- Inherits:
-
BaseRequestModel
- Object
- Model
- BaseRequestModel
- Infobeep::BulkSMSRequest
- Defined in:
- lib/infobeep/requests/bulk_sms_request.rb
Instance Method Summary collapse
Methods inherited from BaseRequestModel
Instance Method Details
#hash_attributes ⇒ Object
8 9 10 11 12 |
# File 'lib/infobeep/requests/bulk_sms_request.rb', line 8 def hash_attributes h = super h[:messages] = .collect{ || .hash_attributes } h end |
#http_method ⇒ Object
14 15 16 |
# File 'lib/infobeep/requests/bulk_sms_request.rb', line 14 def http_method :post end |
#response_class ⇒ Object
22 23 24 |
# File 'lib/infobeep/requests/bulk_sms_request.rb', line 22 def response_class SMSResponse end |
#route ⇒ Object
18 19 20 |
# File 'lib/infobeep/requests/bulk_sms_request.rb', line 18 def route 'sms/1/text/advanced' end |