Class: Backlog::Object::ActivityType
- Inherits:
-
Object
- Object
- Backlog::Object::ActivityType
- 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(activity_type) ⇒ ActivityType
constructor
A new instance of ActivityType.
Constructor Details
#initialize(activity_type) ⇒ ActivityType
Returns a new instance of ActivityType.
174 175 176 177 |
# File 'lib/backlog/object.rb', line 174 def initialize(activity_type) @id = activity_type['id'] @name = activity_type['name'] end |