Class: Fabricio::Model::IssueSession
- Inherits:
-
AbstractModel
- Object
- AbstractModel
- Fabricio::Model::IssueSession
- Defined in:
- lib/fabricio/models/issue_session.rb
Overview
This model represents an application build
Instance Attribute Summary collapse
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#header_link ⇒ Object
readonly
Returns the value of attribute header_link.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Attributes inherited from AbstractModel
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Fabricio::Model::Build
constructor
Returns a Build model object.
Methods inherited from AbstractModel
Constructor Details
#initialize(attributes) ⇒ Fabricio::Model::Build
Returns a Build model object
17 18 19 20 21 22 23 24 |
# File 'lib/fabricio/models/issue_session.rb', line 17 def initialize(attributes) @id = attributes['session_id'] @created_at = attributes['created_at'] @header_link = attributes['header_link'] @next_session_id = attributes['next_session_id'] @prev_session_id = attributes['prev_session_id'] @json = attributes end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Fabricio::Model::AbstractModel
Instance Attribute Details
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
7 8 9 |
# File 'lib/fabricio/models/issue_session.rb', line 7 def created_at @created_at end |
#header_link ⇒ Object (readonly)
Returns the value of attribute header_link.
7 8 9 |
# File 'lib/fabricio/models/issue_session.rb', line 7 def header_link @header_link end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
7 8 9 |
# File 'lib/fabricio/models/issue_session.rb', line 7 def id @id end |