Class: Backlog::Object::Component
- Inherits:
-
Object
- Object
- Backlog::Object::Component
- 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(component) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(component) ⇒ Component
Returns a new instance of Component.
26 27 28 29 |
# File 'lib/backlog/object.rb', line 26 def initialize(component) @id = component['id'] @name = component['name'] end |