Class: Clubhouse::Epiccomment

Inherits:
ClubhouseResource show all
Defined in:
lib/clubhouse2/epic_comment.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from ClubhouseResource

#delete!, #flush, inherited, #initialize, property_filter_create, property_filter_update, #resolve_to_ids, #set_properties, subclass, #to_h, #update, validate, #value_format

Constructor Details

This class inherits a constructor from Clubhouse::ClubhouseResource

Class Method Details

.api_urlObject



7
8
9
# File 'lib/clubhouse2/epic_comment.rb', line 7

def self.api_url
	'comments'
end

.propertiesObject



3
4
5
# File 'lib/clubhouse2/epic_comment.rb', line 3

def self.properties
	[ :author_id, :comments, :created_at, :entity_type, :external_id, :id, :mention_ids, :position, :text, :updated_at, :epic_id ]
end

Instance Method Details

#api_urlObject



11
12
13
# File 'lib/clubhouse2/epic_comment.rb', line 11

def api_url
	"#{self.api_url}/#{@epic_id}/#{id}"
end