mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Merge branch 'master' of git://github.com/jqr/httparty into jqr/master
This commit is contained in:
commit
e4048206a6
1 changed files with 21 additions and 0 deletions
|
@ -113,4 +113,25 @@ module HTTParty
|
|||
Request.new(http_method, path, default_options.merge(options)).perform
|
||||
end
|
||||
end
|
||||
|
||||
class Basement
|
||||
include HTTParty
|
||||
end
|
||||
|
||||
def self.get(*args)
|
||||
Basement.get(*args)
|
||||
end
|
||||
|
||||
def self.post(*args)
|
||||
Basement.post(*args)
|
||||
end
|
||||
|
||||
def self.put(*args)
|
||||
Basement.put(*args)
|
||||
end
|
||||
|
||||
def self.delete(*args)
|
||||
Basement.delete(*args)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue