Class: EngagesparkClient::SendSmsResponse
- Inherits:
-
Object
- Object
- EngagesparkClient::SendSmsResponse
- Defined in:
- lib/engagespark_client/responses/send_sms_response.rb
Constant Summary collapse
- BODY_ATTRS =
{ error: String, message_id: String, estimate_parts: Integer, estimate_micro: Integer, estimate: Decimal, delivery_deadline: DateTime, contact_id: Integer, to: String, message: String, }.freeze
Instance Method Summary collapse
Instance Method Details
#default_body ⇒ Object
29 30 31 |
# File 'lib/engagespark_client/responses/send_sms_response.rb', line 29 def default_body raw_response.body end |
#parsed_body ⇒ Object
33 34 35 |
# File 'lib/engagespark_client/responses/send_sms_response.rb', line 33 def parsed_body JSON.parse(body) end |