Class: Universign::Configuration

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

Overview

Configuration class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



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

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

Instance Attribute Details

#debugObject

Returns the value of attribute debug.



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

def debug
  @debug
end

#handwritten_signature_modeObject

Returns the value of attribute handwritten_signature_mode.



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

def handwritten_signature_mode
  @handwritten_signature_mode
end

#languageObject

Returns the value of attribute language.



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

def language
  @language
end

#passwordObject

Returns the value of attribute password.



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

def password
  @password
end

#productionObject

Returns the value of attribute production.



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

def production
  @production
end

#profileObject

Returns the value of attribute profile.



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

def profile
  @profile
end

#userObject

Returns the value of attribute user.



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

def user
  @user
end