Class: JiraCommand::Command::User

Inherits:
Thor
  • Object
show all
Defined in:
lib/jira_command/command/user.rb

Instance Method Summary collapse

Instance Method Details

#project(pro) ⇒ Object



13
14
15
16
17
18
# File 'lib/jira_command/command/user.rb', line 13

def project(pro)
  config = JiraCommand::Config.new.read

  user_api = JiraCommand::Jira::User.new(config)
  user_api.show_assignable(project: pro)
end