Class: TrackerApi::Resources::Epic
- Includes:
- Shared::Base
- Defined in:
- lib/tracker_api/resources/epic.rb
Defined Under Namespace
Classes: UpdateRepresenter
Instance Method Summary collapse
-
#create_comment(params) ⇒ Comment
Newly created Comment.
-
#save ⇒ Object
Save changes to an existing Epic.
Methods included from Shared::Base
Instance Method Details
#create_comment(params) ⇒ Comment
Returns newly created Comment.
40 41 42 43 44 45 |
# File 'lib/tracker_api/resources/epic.rb', line 40 def create_comment(params) files = params.delete(:files) comment = Endpoints::Comment.new(client).create(project_id, id, params) comment.(files: files) if files.present? comment end |