Class: Fragmentary::Config
- Inherits:
-
Object
- Object
- Fragmentary::Config
- Includes:
- Singleton
- Defined in:
- lib/fragmentary/config.rb
Instance Attribute Summary collapse
-
#application_root_url_column ⇒ Object
Returns the value of attribute application_root_url_column.
-
#current_user_method ⇒ Object
Returns the value of attribute current_user_method.
-
#default_user_type_mapping ⇒ Object
Returns the value of attribute default_user_type_mapping.
-
#get_sign_in_path ⇒ Object
Returns the value of attribute get_sign_in_path.
-
#post_sign_in_path ⇒ Object
Returns the value of attribute post_sign_in_path.
-
#remote_urls ⇒ Object
Returns the value of attribute remote_urls.
-
#session_users ⇒ Object
Returns the value of attribute session_users.
-
#sign_out_path ⇒ Object
Returns the value of attribute sign_out_path.
-
#users ⇒ Object
Returns the value of attribute users.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 11 12 13 |
# File 'lib/fragmentary/config.rb', line 8 def initialize # default @current_user_method = :current_user @application_root_url_column = :application_root_url @remote_urls = [] end |
Instance Attribute Details
#application_root_url_column ⇒ Object
Returns the value of attribute application_root_url_column.
5 6 7 |
# File 'lib/fragmentary/config.rb', line 5 def application_root_url_column @application_root_url_column end |
#current_user_method ⇒ Object
Returns the value of attribute current_user_method.
5 6 7 |
# File 'lib/fragmentary/config.rb', line 5 def current_user_method @current_user_method end |
#default_user_type_mapping ⇒ Object
Returns the value of attribute default_user_type_mapping.
5 6 7 |
# File 'lib/fragmentary/config.rb', line 5 def default_user_type_mapping @default_user_type_mapping end |
#get_sign_in_path ⇒ Object
Returns the value of attribute get_sign_in_path.
5 6 7 |
# File 'lib/fragmentary/config.rb', line 5 def get_sign_in_path @get_sign_in_path end |
#post_sign_in_path ⇒ Object
Returns the value of attribute post_sign_in_path.
5 6 7 |
# File 'lib/fragmentary/config.rb', line 5 def post_sign_in_path @post_sign_in_path end |
#remote_urls ⇒ Object
Returns the value of attribute remote_urls.
5 6 7 |
# File 'lib/fragmentary/config.rb', line 5 def remote_urls @remote_urls end |
#session_users ⇒ Object
Returns the value of attribute session_users.
5 6 7 |
# File 'lib/fragmentary/config.rb', line 5 def session_users @session_users end |
#sign_out_path ⇒ Object
Returns the value of attribute sign_out_path.
5 6 7 |
# File 'lib/fragmentary/config.rb', line 5 def sign_out_path @sign_out_path end |
#users ⇒ Object
Returns the value of attribute users.
5 6 7 |
# File 'lib/fragmentary/config.rb', line 5 def users @users end |