Sha256: cb3cedc1adcee0e6e872d5571eca9a0dd9dd38f82995fa8b55528c99edb7ded2

Contents?: true

Size: 760 Bytes

Versions: 3

Compression:

Stored size: 760 Bytes

Contents

require File.expand_path("#{__FILE__}/../test_credentials.rb")

class TestCredentials
  INSTANCE = TestCredentials.new(
    # Configure these values before running specs
    # You can try using test credentials from https://secure.nmi.com/merchants/resources/integration/integration_portal.php#testing_information if you have a valid customer_vault_id from there, but if you do, the spec for CustomerVault#all will take a very, very, very long time
    'MY_NMI_USERNAME',
    'MY_NMI_PASSWORD',
    'A_CUSTOMER_VAULT_ID_I_CAN_SAFELY_MAKE_CHANGES_TO'.to_i, # Specifically, one that uses a credit card
    'ANOTHER_CUSTOMER_VAULT_ID_I_CAN_SAFELY_MAKE_CHANGES_TO'.to_i, # Specifically, one that uses a checking account
    'A_CLEARED_CC_TRANSACTION'.to_i
  )
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nmi_direct_post-0.3.2 spec/support/credentials.rb.example
nmi_direct_post-0.3.0 spec/support/credentials.rb.example
nmi_direct_post-0.2.0 spec/support/credentials.rb.example