Class: Universign::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



21
22
23
24
25
26
# File 'lib/universign.rb', line 21

def initialize
  @language = 'en'
  @debug = false
  @production = false
  @profile = 'default'
end

Instance Attribute Details

#debugObject

Returns the value of attribute debug.



18
19
20
# File 'lib/universign.rb', line 18

def debug
  @debug
end

#languageObject

Returns the value of attribute language.



18
19
20
# File 'lib/universign.rb', line 18

def language
  @language
end

#passwordObject

Returns the value of attribute password.



18
19
20
# File 'lib/universign.rb', line 18

def password
  @password
end

#productionObject

Returns the value of attribute production.



18
19
20
# File 'lib/universign.rb', line 18

def production
  @production
end

#profileObject

Returns the value of attribute profile.



18
19
20
# File 'lib/universign.rb', line 18

def profile
  @profile
end

#userObject

Returns the value of attribute user.



18
19
20
# File 'lib/universign.rb', line 18

def user
  @user
end