Class: Universign::Configuration
- Inherits:
-
Object
- Object
- Universign::Configuration
- Defined in:
- lib/universign.rb
Overview
Configuration class
Instance Attribute Summary collapse
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#handwritten_signature_mode ⇒ Object
Returns the value of attribute handwritten_signature_mode.
-
#language ⇒ Object
Returns the value of attribute language.
-
#password ⇒ Object
Returns the value of attribute password.
-
#production ⇒ Object
Returns the value of attribute production.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#debug ⇒ Object
Returns the value of attribute debug.
19 20 21 |
# File 'lib/universign.rb', line 19 def debug @debug end |
#handwritten_signature_mode ⇒ Object
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 |
#language ⇒ Object
Returns the value of attribute language.
19 20 21 |
# File 'lib/universign.rb', line 19 def language @language end |
#password ⇒ Object
Returns the value of attribute password.
19 20 21 |
# File 'lib/universign.rb', line 19 def password @password end |
#production ⇒ Object
Returns the value of attribute production.
19 20 21 |
# File 'lib/universign.rb', line 19 def production @production end |
#profile ⇒ Object
Returns the value of attribute profile.
19 20 21 |
# File 'lib/universign.rb', line 19 def profile @profile end |
#user ⇒ Object
Returns the value of attribute user.
19 20 21 |
# File 'lib/universign.rb', line 19 def user @user end |