Class: Helios::Press::Configuration
- Inherits:
-
Object
- Object
- Helios::Press::Configuration
- Defined in:
- lib/helios/press/configuration.rb
Instance Attribute Summary collapse
-
#admin_parent_controller ⇒ Object
Returns the value of attribute admin_parent_controller.
-
#api_authentication ⇒ Object
Returns the value of attribute api_authentication.
-
#api_parent_controller ⇒ Object
Returns the value of attribute api_parent_controller.
-
#post_slug_prefix ⇒ Object
Returns the value of attribute post_slug_prefix.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 13 14 |
# File 'lib/helios/press/configuration.rb', line 9 def initialize @admin_parent_controller = "ApplicationController" @api_parent_controller = "ActionController::API" @api_authentication = nil @post_slug_prefix = nil end |
Instance Attribute Details
#admin_parent_controller ⇒ Object
Returns the value of attribute admin_parent_controller.
4 5 6 |
# File 'lib/helios/press/configuration.rb', line 4 def admin_parent_controller @admin_parent_controller end |
#api_authentication ⇒ Object
Returns the value of attribute api_authentication.
4 5 6 |
# File 'lib/helios/press/configuration.rb', line 4 def api_authentication @api_authentication end |
#api_parent_controller ⇒ Object
Returns the value of attribute api_parent_controller.
4 5 6 |
# File 'lib/helios/press/configuration.rb', line 4 def api_parent_controller @api_parent_controller end |
#post_slug_prefix ⇒ Object
Returns the value of attribute post_slug_prefix.
4 5 6 |
# File 'lib/helios/press/configuration.rb', line 4 def post_slug_prefix @post_slug_prefix end |