Class: ButlerMainframe::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
10
11
12
13
14
15
16
# File 'lib/core/configuration.rb', line 7

def initialize
  @language       = :en
  @host_gateway   = nil
  @browser_path   = ""
  @session_url    = ""
  @session_path   = ""
  @session_tag    = nil
  @timeout        = 1000
  @env            = 'development'
end

Instance Attribute Details

#allow_sign_up=(value) ⇒ Object (writeonly)

Sets the attribute allow_sign_up

Parameters:

  • value

    the value to set the attribute allow_sign_up to.



3
4
5
# File 'lib/core/configuration.rb', line 3

def allow_sign_up=(value)
  @allow_sign_up = value
end

#browser_pathObject

Returns the value of attribute browser_path.



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

def browser_path
  @browser_path
end

#envObject

Returns the value of attribute env.



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

def env
  @env
end

#host_gatewayObject

Returns the value of attribute host_gateway.



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

def host_gateway
  @host_gateway
end

#languageObject

Returns the value of attribute language.



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

def language
  @language
end

#session_pathObject

Returns the value of attribute session_path.



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

def session_path
  @session_path
end

#session_tagObject

Returns the value of attribute session_tag.



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

def session_tag
  @session_tag
end

#session_urlObject

Returns the value of attribute session_url.



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

def session_url
  @session_url
end

#timeoutObject

Returns the value of attribute timeout.



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

def timeout
  @timeout
end