Module: Lotohelp::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/lotohelp/configuration.rb

Overview

Lotohelp configuration used to set global options.

Examples:

Set the configuration options within a block.

Lotohelp.configure do |config|
  config.auth_token = "123123"
  config.auth_email = "[email protected]"
end

Set the configuration directly.

Lotohelp::Config.auth_token = "123123"

Instance Attribute Summary collapse

Instance Attribute Details

#auth_emailString

Defines auth email from user

Returns:

  • (String)


24
25
26
# File 'lib/lotohelp/configuration.rb', line 24

def auth_email
  @auth_email
end

#auth_tokenString

Defines auth token from user

Returns:

  • (String)


19
20
21
# File 'lib/lotohelp/configuration.rb', line 19

def auth_token
  @auth_token
end