Class: AccessGrid::PublishTemplateResponse
- Inherits:
-
Object
- Object
- AccessGrid::PublishTemplateResponse
- Defined in:
- lib/accessgrid/console.rb
Overview
Result of publishing a card template.
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(data) ⇒ PublishTemplateResponse
constructor
A new instance of PublishTemplateResponse.
Constructor Details
#initialize(data) ⇒ PublishTemplateResponse
Returns a new instance of PublishTemplateResponse.
222 223 224 225 |
# File 'lib/accessgrid/console.rb', line 222 def initialize(data) @id = data['id'] @status = data['status'] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
220 221 222 |
# File 'lib/accessgrid/console.rb', line 220 def id @id end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
220 221 222 |
# File 'lib/accessgrid/console.rb', line 220 def status @status end |