Class: Infobip::SmsApi::Response::RequestError
- Inherits:
-
Object
- Object
- Infobip::SmsApi::Response::RequestError
- Defined in:
- lib/infobip/sms_api/response/request_error.rb
Instance Attribute Summary collapse
-
#service_exception ⇒ Object
readonly
Returns the value of attribute service_exception.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(attributes) ⇒ RequestError
Returns a new instance of RequestError.
6 7 8 |
# File 'lib/infobip/sms_api/response/request_error.rb', line 6 def initialize(attributes) @service_exception = attributes['serviceException'] end |
Instance Attribute Details
#service_exception ⇒ Object (readonly)
Returns the value of attribute service_exception.
5 6 7 |
# File 'lib/infobip/sms_api/response/request_error.rb', line 5 def service_exception @service_exception end |