Method: Transbank::Onepay::Base.app_scheme

Defined in:
lib/transbank/sdk/onepay/base.rb

.app_schemeString

Returns the app_scheme failing that, the value of ENV (your env variable)

Returns:

  • (String)

    the app scheme, either the one set on @app_scheme or,



91
92
93
94
# File 'lib/transbank/sdk/onepay/base.rb', line 91

def app_scheme
  return ENV['ONEPAY_APP_SCHEME'] unless @app_scheme
  @app_scheme
end