class AuthorizeNet::Response
The core, API
agnostic response class. You shouldn't instantiate this one. Instead you should use AuthorizeNet::AIM::Response
, AuthorizeNet::ARB::Response
or AuthorizeNet::SIM::Response
.
Public Class Methods
new()
click to toggle source
DO NOT USE. Instantiate AuthorizeNet::AIM::Response
or AuthorizeNet::SIM::Response
instead.
# File lib/authorize_net/response.rb, line 16 def initialize() raise "#{self.class.to_s} should not be instantiated directly." end
Public Instance Methods
success?()
click to toggle source
Check to see if the response indicated success.
# File lib/authorize_net/response.rb, line 21 def success? false end