Class: Jira::Command::Vote::Add
- Defined in:
- lib/jira/commands/vote/add.rb
Instance Attribute Summary collapse
-
#ticket ⇒ Object
Returns the value of attribute ticket.
Instance Method Summary collapse
-
#initialize(ticket) ⇒ Add
constructor
A new instance of Add.
- #run ⇒ Object
Constructor Details
#initialize(ticket) ⇒ Add
Returns a new instance of Add.
17 18 19 |
# File 'lib/jira/commands/vote/add.rb', line 17 def initialize(ticket) self.ticket = ticket end |
Instance Attribute Details
#ticket ⇒ Object
Returns the value of attribute ticket.
15 16 17 |
# File 'lib/jira/commands/vote/add.rb', line 15 def ticket @ticket end |