Class: Jira::Log

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

Instance Method Summary collapse

Instance Method Details

#add(ticket = Jira::Core.ticket) ⇒ Object



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

def add(ticket=Jira::Core.ticket)
  Command::Log::Add.new(ticket, options).run
end

#delete(ticket = Jira::Core.ticket) ⇒ Object



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

def delete(ticket=Jira::Core.ticket)
  Command::Log::Delete.new(ticket).run
end

#list(ticket = Jira::Core.ticket) ⇒ Object



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

def list(ticket=Jira::Core.ticket)
  Command::Log::List.new(ticket).run
end

#update(ticket = Jira::Core.ticket) ⇒ Object



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

def update(ticket=Jira::Core.ticket)
  Command::Log::Update.new(ticket).run
end