lib/airborne/base.rb in airborne-0.0.20 vs lib/airborne/base.rb in airborne-0.0.21

- old
+ new

@@ -1,7 +1,7 @@ require 'json' -require 'active_support/core_ext' +require 'active_support/hash_with_indifferent_access' module Airborne include RequestExpectations def self.configure @@ -57,9 +57,19 @@ end def json_body @json_body end + + alias_method :airborne_get, :get + alias_method :airborne_post, :post + alias_method :airborne_patch, :patch + alias_method :airborne_put, :put + alias_method :airborne_delete, :delete + alias_method :airborne_response, :response + alias_method :airborne_headers, :headers + alias_method :airborne_body, :body + alias_method :airborne_json_body, :json_body private def get_url(url) base = Airborne.configuration.base_url || ""