Class: Fragmentary::Config

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/fragmentary/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_columnObject

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_methodObject

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_mappingObject

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_pathObject

Returns the value of attribute get_sign_in_path.



5
6
7
# File 'lib/fragmentary/config.rb', line 5

def 
  @get_sign_in_path
end

#post_sign_in_pathObject

Returns the value of attribute post_sign_in_path.



5
6
7
# File 'lib/fragmentary/config.rb', line 5

def 
  @post_sign_in_path
end

#remote_urlsObject

Returns the value of attribute remote_urls.



5
6
7
# File 'lib/fragmentary/config.rb', line 5

def remote_urls
  @remote_urls
end

#session_usersObject

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_pathObject

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

#usersObject

Returns the value of attribute users.



5
6
7
# File 'lib/fragmentary/config.rb', line 5

def users
  @users
end