diff --git a/lib/httparty.rb b/lib/httparty.rb index f48c3d6..7a4dd63 100644 --- a/lib/httparty.rb +++ b/lib/httparty.rb @@ -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