Class: SpreedlyCore::Response

Inherits:
Base
  • Object
show all
Defined in:
lib/spreedly-core-ruby.rb

Overview

A container for a response from a payment gateway

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

configure, environment_key, gateway_token, gateway_token=, #initialize, verify_get, verify_options, verify_post, verify_put, verify_request

Constructor Details

This class inherits a constructor from SpreedlyCore::Base

Instance Attribute Details

#avs_codeObject (readonly)

Returns the value of attribute avs_code.



97
98
99
# File 'lib/spreedly-core-ruby.rb', line 97

def avs_code
  @avs_code
end

#avs_messageObject (readonly)

Returns the value of attribute avs_message.



97
98
99
# File 'lib/spreedly-core-ruby.rb', line 97

def avs_message
  @avs_message
end

#created_atObject (readonly)

Returns the value of attribute created_at.



97
98
99
# File 'lib/spreedly-core-ruby.rb', line 97

def created_at
  @created_at
end

#cvv_codeObject (readonly)

Returns the value of attribute cvv_code.



97
98
99
# File 'lib/spreedly-core-ruby.rb', line 97

def cvv_code
  @cvv_code
end

#cvv_messageObject (readonly)

Returns the value of attribute cvv_message.



97
98
99
# File 'lib/spreedly-core-ruby.rb', line 97

def cvv_message
  @cvv_message
end

#error_codeObject (readonly)

Returns the value of attribute error_code.



97
98
99
# File 'lib/spreedly-core-ruby.rb', line 97

def error_code
  @error_code
end

#error_detailObject (readonly)

Returns the value of attribute error_detail.



97
98
99
# File 'lib/spreedly-core-ruby.rb', line 97

def error_detail
  @error_detail
end

#messageObject (readonly)

Returns the value of attribute message.



97
98
99
# File 'lib/spreedly-core-ruby.rb', line 97

def message
  @message
end

#successObject (readonly)

Returns the value of attribute success.



97
98
99
# File 'lib/spreedly-core-ruby.rb', line 97

def success
  @success
end

#updated_atObject (readonly)

Returns the value of attribute updated_at.



97
98
99
# File 'lib/spreedly-core-ruby.rb', line 97

def updated_at
  @updated_at
end