Sha256: 74baf55492776f5b23143ef16f6b54e8166b4b585ba37313f7dfe73df791aca0
Contents?: true
Size: 590 Bytes
Versions: 25
Compression:
Stored size: 590 Bytes
Contents
require 'jiralicious' module Octopolo module Jira class StoryCommenter include ConfigWrapper attr_accessor :issue attr_accessor :comment def initialize(issue_id, comment) Jiralicious.configure do |jira_config| jira_config.username = config.jira_user jira_config.password = config.jira_password jira_config.uri = config.jira_url end self.issue = Jiralicious::Issue.find issue_id self.comment = comment end def perform issue.comments.add(comment) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems