Class: Infobip::SmsApi::Response::Status

Inherits:
Object
  • Object
show all
Defined in:
lib/infobip/sms_api/response/status.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionObject (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_idObject (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_nameObject (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

#idObject (readonly)

Returns the value of attribute id.



5
6
7
# File 'lib/infobip/sms_api/response/status.rb', line 5

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/infobip/sms_api/response/status.rb', line 5

def name
  @name
end