Class: Backlog::Object::Status
- Inherits:
-
Object
- Object
- Backlog::Object::Status
- Defined in:
- lib/backlog/object.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(status) ⇒ Status
constructor
A new instance of Status.
Constructor Details
#initialize(status) ⇒ Status
Returns a new instance of Status.
128 129 130 131 |
# File 'lib/backlog/object.rb', line 128 def initialize(status) @id = status['id'] @name = status['name'] end |