Class: WhatsappSdk::Api::Responses::IdResponse
- Inherits:
-
Object
- Object
- WhatsappSdk::Api::Responses::IdResponse
- Defined in:
- lib/whatsapp_sdk/api/responses/id_response.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id) ⇒ IdResponse
constructor
A new instance of IdResponse.
Constructor Details
#initialize(id) ⇒ IdResponse
Returns a new instance of IdResponse.
9 10 11 |
# File 'lib/whatsapp_sdk/api/responses/id_response.rb', line 9 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/whatsapp_sdk/api/responses/id_response.rb', line 7 def id @id end |