Class: Infobip::SmsApi::Response::Status
- Inherits:
-
Object
- Object
- Infobip::SmsApi::Response::Status
- Defined in:
- lib/infobip/sms_api/response/status.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#group_id ⇒ Object
readonly
Returns the value of attribute group_id.
-
#group_name ⇒ Object
readonly
Returns the value of attribute group_name.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Status
constructor
A new instance of Status.
Constructor Details
#initialize(attributes) ⇒ Status
Returns a new instance of Status.
7 8 9 10 11 12 13 |
# File 'lib/infobip/sms_api/response/status.rb', line 7 def initialize(attributes) @group_id = attributes['groupId'] @group_name = attributes['groupName'] @id = attributes['id'] @name = attributes['name'] @description = attributes['description'] end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
5 6 7 |
# File 'lib/infobip/sms_api/response/status.rb', line 5 def description @description end |
#group_id ⇒ Object (readonly)
Returns the value of attribute group_id.
5 6 7 |
# File 'lib/infobip/sms_api/response/status.rb', line 5 def group_id @group_id end |
#group_name ⇒ Object (readonly)
Returns the value of attribute group_name.
5 6 7 |
# File 'lib/infobip/sms_api/response/status.rb', line 5 def group_name @group_name end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/infobip/sms_api/response/status.rb', line 5 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/infobip/sms_api/response/status.rb', line 5 def name @name end |