sumoheavy/jira-ruby

View on GitHub
lib/jira/resource/worklog.rb

Summary

Maintainability
A
0 mins
Test Coverage
module JIRA
  module Resource
    class WorklogFactory < JIRA::BaseFactory # :nodoc:
    end

    class Worklog < JIRA::Base
      has_one :author, class: JIRA::Resource::User
      has_one :update_author, class: JIRA::Resource::User,
                              attribute_key: 'updateAuthor'
      belongs_to :issue
      nested_collections true
    end
  end
end