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.
-
#default_image_url ⇒ Object
Returns the value of attribute default_image_url.
-
#post_slug_prefix ⇒ Object
Returns the value of attribute post_slug_prefix.
-
#public_parent_controller ⇒ Object
Returns the value of attribute public_parent_controller.
-
#site_name ⇒ Object
Returns the value of attribute site_name.
-
#twitter_site ⇒ Object
Returns the value of attribute twitter_site.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/helios/press/configuration.rb', line 13 def initialize @admin_parent_controller = "ApplicationController" @public_parent_controller = "ApplicationController" @api_parent_controller = "ActionController::API" @api_authentication = nil @post_slug_prefix = nil @site_name = nil @twitter_site = nil @default_image_url = 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 |
#default_image_url ⇒ Object
Returns the value of attribute default_image_url.
4 5 6 |
# File 'lib/helios/press/configuration.rb', line 4 def default_image_url @default_image_url 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 |
#public_parent_controller ⇒ Object
Returns the value of attribute public_parent_controller.
4 5 6 |
# File 'lib/helios/press/configuration.rb', line 4 def public_parent_controller @public_parent_controller end |
#site_name ⇒ Object
Returns the value of attribute site_name.
4 5 6 |
# File 'lib/helios/press/configuration.rb', line 4 def site_name @site_name end |
#twitter_site ⇒ Object
Returns the value of attribute twitter_site.
4 5 6 |
# File 'lib/helios/press/configuration.rb', line 4 def twitter_site @twitter_site end |