Class: Jira::Comment

Inherits:
Thor
  • Object
show all
Defined in:
lib/jira/commands/comment/add.rb,
lib/jira/commands/comment/list.rb,
lib/jira/commands/comment/delete.rb,
lib/jira/commands/comment/update.rb

Instance Method Summary collapse

Instance Method Details

#add(ticket) ⇒ Object



6
7
8
# File 'lib/jira/commands/comment/add.rb', line 6

def add(ticket)
  Command::Comment::Add.new(ticket, options).run
end

#delete(ticket) ⇒ Object



5
6
7
# File 'lib/jira/commands/comment/delete.rb', line 5

def delete(ticket)
  Command::Comment::Delete.new(ticket).run
end

#list(ticket) ⇒ Object



5
6
7
# File 'lib/jira/commands/comment/list.rb', line 5

def list(ticket)
  Command::Comment::List.new(ticket).run
end

#update(ticket) ⇒ Object



5
6
7
# File 'lib/jira/commands/comment/update.rb', line 5

def update(ticket)
  Command::Comment::Update.new(ticket).run
end