Class: Clubhouse::Epic::Comment

Inherits:
BaseResource show all
Defined in:
lib/clubhouse/epic.rb

Instance Attribute Summary

Attributes inherited from BaseResource

#client

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseResource

attributes, attributes_for_create, attributes_for_update, client, delete, #initialize, #reload, resource, #update_object_from_payload

Constructor Details

This class inherits a constructor from Clubhouse::BaseResource

Class Method Details

.allObject

Raises:

  • (NotImplemented)


33
34
35
# File 'lib/clubhouse/epic.rb', line 33

def self.all
  raise NotImplemented
end

.find(id = nil) ⇒ Object

Raises:

  • (NotImplemented)


29
30
31
# File 'lib/clubhouse/epic.rb', line 29

def self.find(id = nil)
  raise NotImplemented
end

Instance Method Details

#commentsObject



21
22
23
# File 'lib/clubhouse/epic.rb', line 21

def comments
  @_comments ||= Array(@comments).collect {|c| Comment.new.update_object_from_payload(c) }
end

#saveObject

Raises:

  • (NotImplemented)


25
26
27
# File 'lib/clubhouse/epic.rb', line 25

def save
  raise NotImplemented
end