Class: Backlog::Object::Resolution
- Inherits:
-
Object
- Object
- Backlog::Object::Resolution
- 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(resolution) ⇒ Resolution
constructor
A new instance of Resolution.
Constructor Details
#initialize(resolution) ⇒ Resolution
Returns a new instance of Resolution.
120 121 122 123 |
# File 'lib/backlog/object.rb', line 120 def initialize(resolution) @id = resolution['id'] @name = resolution['name'] end |