Class: Ghee::API::Repos::Commits::Proxy
- Inherits:
-
ResourceProxy
- Object
- ResourceProxy
- Ghee::API::Repos::Commits::Proxy
- Defined in:
- lib/ghee/api/commits.rb,
lib/ghee/api/commit_comments.rb,
lib/ghee/api/commit_statuses.rb
Instance Attribute Summary
Attributes inherited from ResourceProxy
#connection, #current_page, #id, #pagination, #params, #path_prefix, #total
Instance Method Summary collapse
Methods inherited from ResourceProxy
accept_header, #all, #all_parallel, #build_prefix, #initialize, #method_missing, #paginate, #raw, #subject
Methods included from CUD
Constructor Details
This class inherits a constructor from Ghee::ResourceProxy
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Ghee::ResourceProxy
Instance Method Details
#comments(id = nil, &block) ⇒ Object
21 22 23 24 |
# File 'lib/ghee/api/commit_comments.rb', line 21 def comments(id=nil, &block) prefix = build_prefix id, "comments" Ghee::API::Repos::Commits::Comments::Proxy.new connection, prefix, id, &block end |