Class: IletimerkeziSdk::Models::WebhookReport
- Inherits:
-
Object
- Object
- IletimerkeziSdk::Models::WebhookReport
- Defined in:
- lib/iletimerkezi_sdk/models/webhook_report.rb
Instance Attribute Summary collapse
-
#raw_data ⇒ Object
readonly
Returns the value of attribute raw_data.
Instance Method Summary collapse
-
#initialize(data) ⇒ WebhookReport
constructor
A new instance of WebhookReport.
- #message_id ⇒ Object
- #operator ⇒ Object
- #phone_number ⇒ Object
- #status ⇒ Object
- #status_message ⇒ Object
Constructor Details
#initialize(data) ⇒ WebhookReport
Returns a new instance of WebhookReport.
6 7 8 |
# File 'lib/iletimerkezi_sdk/models/webhook_report.rb', line 6 def initialize(data) @raw_data = data end |
Instance Attribute Details
#raw_data ⇒ Object (readonly)
Returns the value of attribute raw_data.
4 5 6 |
# File 'lib/iletimerkezi_sdk/models/webhook_report.rb', line 4 def raw_data @raw_data end |
Instance Method Details
#message_id ⇒ Object
10 11 12 |
# File 'lib/iletimerkezi_sdk/models/webhook_report.rb', line 10 def @raw_data['message_id'] end |
#operator ⇒ Object
22 23 24 |
# File 'lib/iletimerkezi_sdk/models/webhook_report.rb', line 22 def operator @raw_data['operator'] end |
#phone_number ⇒ Object
26 27 28 |
# File 'lib/iletimerkezi_sdk/models/webhook_report.rb', line 26 def phone_number @raw_data['phone_number'] end |
#status ⇒ Object
14 15 16 |
# File 'lib/iletimerkezi_sdk/models/webhook_report.rb', line 14 def status @raw_data['status'] end |
#status_message ⇒ Object
18 19 20 |
# File 'lib/iletimerkezi_sdk/models/webhook_report.rb', line 18 def @raw_data['status_message'] end |