Module: PostcodeAnywhere::Utils
- Included in:
- BankAccountValidation::Interactive, CapturePlus::Interactive, CleansePlus::Interactive, EmailValidation::Interactive
- Defined in:
- lib/postcode_anywhere/utils.rb
Instance Method Summary collapse
- #perform_with_object(request_method, path, options, klass, body_hash = {}) ⇒ Object
- #perform_with_objects(request_method, path, options, klass, body_hash = {}) ⇒ Object
Instance Method Details
#perform_with_object(request_method, path, options, klass, body_hash = {}) ⇒ Object
5 6 7 8 |
# File 'lib/postcode_anywhere/utils.rb', line 5 def perform_with_object(request_method, path, , klass, body_hash = {}) request = PostcodeAnywhere::Request.new(self, request_method, path, body_hash, ) request.perform_with_object(klass) end |
#perform_with_objects(request_method, path, options, klass, body_hash = {}) ⇒ Object
10 11 12 13 |
# File 'lib/postcode_anywhere/utils.rb', line 10 def perform_with_objects(request_method, path, , klass, body_hash = {}) request = PostcodeAnywhere::Request.new(self, request_method, path, body_hash, ) request.perform_with_objects(klass) end |