Class: RoboPigeon::Dsl::JiraRoot

Inherits:
Base
  • Object
show all
Defined in:
lib/robopigeon/jira/dsl.rb

Direct Known Subclasses

Jira

Instance Method Summary collapse

Methods inherited from Base

#method_missing, #respond_to_missing?

Methods inherited from Job

#gitlab, #jenkins, #jira, run, #slack

Methods included from Helpers

#skip

Methods included from Helpers::Markdown

#confluence_from_md, #html_from_md, #jira_from_md, #slack_from_md

Methods included from Helpers::GitLab

#deployment_code_change_stats, #deployment_diff_link, #deployment_ref, #deployment_sha, #deployment_shortlog, #deployment_time, #environment_link, #tickets_in_log_since_deployment_to

Methods included from Helpers::Slack

#slack_name_for, #slack_user_for, #slack_user_group

Methods included from Helpers::Jira

#jira_last_created_ticket, #jira_last_created_ticket_link, #jira_last_created_ticket_slack_link, #jira_slack_link

Methods included from Helpers::Git

#changed_since?, #git_branch_merged_source, #git_branch_merged_target, #git_committer_email, #git_committer_name, #git_merger_email, #git_merger_name

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RoboPigeon::Dsl::Base

Instance Method Details

#api_key(key) ⇒ Object



23
24
25
# File 'lib/robopigeon/jira/dsl.rb', line 23

def api_key(key)
  RoboPigeon::Jira::Client.api_key = key
end

#api_url(key) ⇒ Object



35
36
37
# File 'lib/robopigeon/jira/dsl.rb', line 35

def api_url(key)
  RoboPigeon::Jira::Client.api_url = key
end

#enabled(bool) ⇒ Object



11
12
13
# File 'lib/robopigeon/jira/dsl.rb', line 11

def enabled(bool)
  RoboPigeon::Jira::Client.enabled = bool
end

#wait_for_state_timeout(time) ⇒ Object



47
48
49
# File 'lib/robopigeon/jira/dsl.rb', line 47

def wait_for_state_timeout(time)
  RoboPigeon::Jira::Client.wait_for_state_timeout = time
end