Class: Tinybucket::Resource::Commit::Comments
- Defined in:
- lib/tinybucket/resource/commit/comments.rb
Instance Method Summary collapse
-
#find(comment_id, options = {}) ⇒ Tinybucket::Model::Comment
Get the specific commit comment which associate with the commit.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Tinybucket::Resource::Commit::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Tinybucket::Resource::Base
Instance Method Details
#find(comment_id, options = {}) ⇒ Tinybucket::Model::Comment
Get the specific commit comment which associate with the commit.
12 13 14 15 16 |
# File 'lib/tinybucket/resource/commit/comments.rb', line 12 def find(comment_id, = {}) comments_api.find(comment_id, ).tap do |m| m.repo_keys = @commit.repo_keys end end |