Class: AstroPay::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/astro_pay/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAstroPay::Configuration

Creates a new instance of [AstroPay::Configuration].

Parameters:

  • attributes (Hash)

    with the following fields: :error, :message.



17
18
19
20
# File 'lib/astro_pay/configuration.rb', line 17

def initialize
  @sandbox = true
  @enable_ssl = true
end

Instance Attribute Details

#card_x_loginObject

AstroPay Direct required attributes



8
9
10
# File 'lib/astro_pay/configuration.rb', line 8

def 
  @card_x_login
end

#card_x_trans_keyObject

AstroPay Direct required attributes



8
9
10
# File 'lib/astro_pay/configuration.rb', line 8

def card_x_trans_key
  @card_x_trans_key
end

#direct_secret_keyObject

Returns the value of attribute direct_secret_key.



5
6
7
# File 'lib/astro_pay/configuration.rb', line 5

def direct_secret_key
  @direct_secret_key
end

#direct_x_loginObject

AstroPay Direct required attributes



4
5
6
# File 'lib/astro_pay/configuration.rb', line 4

def 
  @direct_x_login
end

#direct_x_login_for_webpaystatusObject

AstroPay Direct required attributes



4
5
6
# File 'lib/astro_pay/configuration.rb', line 4

def 
  @direct_x_login_for_webpaystatus
end

#direct_x_trans_keyObject

AstroPay Direct required attributes



4
5
6
# File 'lib/astro_pay/configuration.rb', line 4

def direct_x_trans_key
  @direct_x_trans_key
end

#direct_x_trans_key_for_webpaystatusObject

Returns the value of attribute direct_x_trans_key_for_webpaystatus.



5
6
7
# File 'lib/astro_pay/configuration.rb', line 5

def direct_x_trans_key_for_webpaystatus
  @direct_x_trans_key_for_webpaystatus
end

#enable_sslObject

Optional attributes



11
12
13
# File 'lib/astro_pay/configuration.rb', line 11

def enable_ssl
  @enable_ssl
end

#sandboxObject

Optional attributes



11
12
13
# File 'lib/astro_pay/configuration.rb', line 11

def sandbox
  @sandbox
end