Class: Backlog::Object::Priority
- Inherits:
-
Object
- Object
- Backlog::Object::Priority
- 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(priority) ⇒ Priority
constructor
A new instance of Priority.
Constructor Details
#initialize(priority) ⇒ Priority
Returns a new instance of Priority.
112 113 114 115 |
# File 'lib/backlog/object.rb', line 112 def initialize(priority) @id = priority['id'] @name = priority['name'] end |