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.
218 219 220 221 |
# File 'lib/accessgrid/console.rb', line 218 def initialize(data) @id = data['id'] @status = data['status'] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
216 217 218 |
# File 'lib/accessgrid/console.rb', line 216 def id @id end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
216 217 218 |
# File 'lib/accessgrid/console.rb', line 216 def status @status end |