Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of git://github.com/jqr/httparty into jqr/master

  • Loading branch information...
commit e4048206a6489bf41aac75eae28f37a7a505e27f 2 parents ab17bb3 + 1adf103
@jnunemaker authored
Showing with 21 additions and 0 deletions.
  1. +21 −0 lib/httparty.rb
View
21 lib/httparty.rb
@@ -113,4 +113,25 @@ def perform_request(http_method, path, options) #:nodoc:
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
Please sign in to comment.
Something went wrong with that request. Please try again.