Class: Astropay::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#sandboxObject

Returns the value of attribute sandbox.



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

def sandbox
  @sandbox
end

#secret_keyObject

Returns the value of attribute secret_key.



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

def secret_key
  @secret_key
end

#ssl_enabledObject

Returns the value of attribute ssl_enabled.



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

def ssl_enabled
  @ssl_enabled
end

#x_loginObject

Returns the value of attribute x_login.



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

def 
  @x_login
end

#x_login_webpaystatusObject

Returns the value of attribute x_login_webpaystatus.



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

def 
  @x_login_webpaystatus
end

#x_trans_keyObject

Returns the value of attribute x_trans_key.



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

def x_trans_key
  @x_trans_key
end

#x_trans_key_webpaystatusObject

Returns the value of attribute x_trans_key_webpaystatus.



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

def x_trans_key_webpaystatus
  @x_trans_key_webpaystatus
end

Instance Method Details

#credentialsObject



8
9
10
11
12
13
# File 'lib/astropay/configuration.rb', line 8

def credentials
  {
    'x_login' => ,
    'x_trans_key' => x_trans_key
  }
end

#webpaystatus_credentialsObject



15
16
17
18
19
20
# File 'lib/astropay/configuration.rb', line 15

def webpaystatus_credentials
  {
    'x_login_webpaystatus' => ,
    'x_trans_key_webpaystatus' => x_trans_key_webpaystatus
  }
end