Module: Sofort

Defined in:
lib/sofort.rb,
lib/sofort/client.rb,
lib/sofort/version.rb,
lib/generators/sofort/install_generator.rb

Defined Under Namespace

Modules: Generators Classes: Client

Constant Summary collapse

VALUES =
[:user_id, :api_key, :base_url, :abort_url,
:success_url, :notification_url, :email_customer,
:notification_email, :project_id, :country_code,
:currency_code, :reason, :language_code,:user_variable]
VERSION =
"0.1.8"
@@user_id =
'sofort_user_id'
@@api_key =
'api_key'
@@base_url =
"https://api.sofort.com/api/xml"
@@abort_url =
'abort_url'
@@success_url =
'success_url'
@@notification_url =
'notification_url'
@@email_customer =
'email_customer'
@@notification_email =
'notification_email'
@@project_id =
'project_id'
@@country_code =
"DE"
@@currency_code =
"EUR"
@@reson =
"Reason"

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Sofort)

    the object that the method was called on



44
45
46
# File 'lib/sofort.rb', line 44

def self.setup
  yield self
end