Class: Ghee::API::Repos::Commits::Comments::Proxy

Inherits:
ResourceProxy
  • Object
show all
Defined in:
lib/ghee/api/commits.rb

Instance Attribute Summary

Attributes inherited from ResourceProxy

#connection, #current_page, #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

#destroy, #patch

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

#create(attributes) ⇒ Object



24
25
26
# File 'lib/ghee/api/commits.rb', line 24

def create(attributes)
  connection.post(path_prefix, attributes).body
end