module PostcodeAnywhere::Utils
Public Instance Methods
perform_with_object(request_method, path, options, klass, body_hash = {})
click to toggle source
# File lib/postcode_anywhere/utils.rb, line 5 def perform_with_object(request_method, path, options, klass, body_hash = {}) request = PostcodeAnywhere::Request.new(self, request_method, path, body_hash, options) request.perform_with_object(klass) end
perform_with_objects(request_method, path, options, klass, body_hash = {})
click to toggle source
# File lib/postcode_anywhere/utils.rb, line 10 def perform_with_objects(request_method, path, options, klass, body_hash = {}) request = PostcodeAnywhere::Request.new(self, request_method, path, body_hash, options) request.perform_with_objects(klass) end