Module: VaultedBilling::Gateway::Response

Defined in:
lib/vaulted_billing/gateway.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#connection_error=(value) ⇒ Object (writeonly)

Sets the attribute connection_error

Parameters:

  • value

    the value to set the attribute connection_error to.



9
10
11
# File 'lib/vaulted_billing/gateway.rb', line 9

def connection_error=(value)
  @connection_error = value
end

#error_codeObject

Returns the value of attribute error_code.



7
8
9
# File 'lib/vaulted_billing/gateway.rb', line 7

def error_code
  @error_code
end

#raw_responseObject

Returns the value of attribute raw_response.



5
6
7
# File 'lib/vaulted_billing/gateway.rb', line 5

def raw_response
  @raw_response
end

#responseObject

Returns the value of attribute response.



4
5
6
# File 'lib/vaulted_billing/gateway.rb', line 4

def response
  @response
end

#response_messageObject

Returns the value of attribute response_message.



6
7
8
# File 'lib/vaulted_billing/gateway.rb', line 6

def response_message
  @response_message
end

#success=(value) ⇒ Object (writeonly)

Sets the attribute success

Parameters:

  • value

    the value to set the attribute success to.



10
11
12
# File 'lib/vaulted_billing/gateway.rb', line 10

def success=(value)
  @success = value
end

#transactionsObject

Returns the value of attribute transactions.



8
9
10
# File 'lib/vaulted_billing/gateway.rb', line 8

def transactions
  @transactions
end

Instance Method Details

#connection_error?Boolean

Returns:

  • (Boolean)


12
# File 'lib/vaulted_billing/gateway.rb', line 12

def connection_error?; @connection_error; end

#success?Boolean

Returns:

  • (Boolean)


11
# File 'lib/vaulted_billing/gateway.rb', line 11

def success?; @success; end