Module: Cenit::API::HttpDestroyable
Instance Method Summary
collapse
Methods included from HttpQuery
#method_missing, #query
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Cenit::API::HttpQuery
Instance Method Details
#delete(options = {}, &block) ⇒ Object
7
8
9
|
# File 'lib/cenit/api/http_destroyable.rb', line 7
def delete(options = {}, &block)
do_request(:delete, options, &block)
end
|
#destroy(options = {}, &block) ⇒ Object
11
12
13
|
# File 'lib/cenit/api/http_destroyable.rb', line 11
def destroy(options = {}, &block)
delete(options, &block)
end
|