Class: Dev::Jira::Project
- Defined in:
- lib/firespring_dev_commands/jira/project.rb
Overview
Contains information on the Jira project
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(data) ⇒ Project
constructor
A new instance of Project.
Constructor Details
#initialize(data) ⇒ Project
Returns a new instance of Project.
7 8 9 10 |
# File 'lib/firespring_dev_commands/jira/project.rb', line 7 def initialize(data) @name = data.project.name @name = @name << ' DevOps' if /devops/i.match?(data.issuetype.name) end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/firespring_dev_commands/jira/project.rb', line 5 def name @name end |