Class: Iatelier::Configuration
- Inherits:
-
Object
- Object
- Iatelier::Configuration
- Defined in:
- lib/iatelier/configuration.rb
Instance Attribute Summary collapse
-
#admin_password ⇒ Object
Returns the value of attribute admin_password.
-
#admin_username ⇒ Object
Returns the value of attribute admin_username.
-
#atelier_name ⇒ Object
Returns the value of attribute atelier_name.
-
#atelier_url ⇒ Object
Returns the value of attribute atelier_url.
-
#storage_dir ⇒ Object
Returns the value of attribute storage_dir.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
4 5 6 7 8 9 10 |
# File 'lib/iatelier/configuration.rb', line 4 def initialize @atelier_name = nil @atelier_url = nil @storage_dir = './storage/books/' @admin_username = 'admin' @admin_password = 'yup-thatsthat' end |
Instance Attribute Details
#admin_password ⇒ Object
Returns the value of attribute admin_password.
3 4 5 |
# File 'lib/iatelier/configuration.rb', line 3 def admin_password @admin_password end |
#admin_username ⇒ Object
Returns the value of attribute admin_username.
3 4 5 |
# File 'lib/iatelier/configuration.rb', line 3 def admin_username @admin_username end |
#atelier_name ⇒ Object
Returns the value of attribute atelier_name.
3 4 5 |
# File 'lib/iatelier/configuration.rb', line 3 def atelier_name @atelier_name end |
#atelier_url ⇒ Object
Returns the value of attribute atelier_url.
3 4 5 |
# File 'lib/iatelier/configuration.rb', line 3 def atelier_url @atelier_url end |
#storage_dir ⇒ Object
Returns the value of attribute storage_dir.
3 4 5 |
# File 'lib/iatelier/configuration.rb', line 3 def storage_dir @storage_dir end |