Class: QAuthRubyClient::Configuration
- Inherits:
-
Object
- Object
- QAuthRubyClient::Configuration
- Defined in:
- lib/q_auth_ruby_client/configuration.rb
Instance Attribute Summary collapse
-
#default_redirect_url_after_sign_in ⇒ Object
Returns the value of attribute default_redirect_url_after_sign_in.
-
#default_redirect_url_after_sign_out ⇒ Object
Returns the value of attribute default_redirect_url_after_sign_out.
-
#my_profile_url ⇒ Object
Returns the value of attribute my_profile_url.
-
#q_app_name ⇒ Object
Returns the value of attribute q_app_name.
-
#q_auth_url ⇒ Object
Returns the value of attribute q_auth_url.
-
#q_meeting_url ⇒ Object
Returns the value of attribute q_meeting_url.
-
#q_projects_url ⇒ Object
Returns the value of attribute q_projects_url.
-
#q_time_url ⇒ Object
Returns the value of attribute q_time_url.
-
#session_time_out ⇒ Object
Returns the value of attribute session_time_out.
-
#user_status_list ⇒ Object
Returns the value of attribute user_status_list.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/q_auth_ruby_client/configuration.rb', line 14 def initialize @session_time_out = 60.minutes @q_app_name = "Q Auth App" @q_auth_url = ENV["QAUTH_URL"] || "http://localhost:9001" @q_projects_url = ENV["QPROJECTS_URL"] || "http://localhost:9002" @q_time_url = ENV["QTIME_URL"] || "http://localhost:9003" @q_meeting_url = ENV["QMEETING_URL"] || "http://localhost:9004" @default_redirect_url_after_sign_in = "/dashboard" @default_redirect_url_after_sign_out = "/" @my_profile_url = "/user/profile" @default_sign_in_url = "/sign_in" end |
Instance Attribute Details
#default_redirect_url_after_sign_in ⇒ Object
Returns the value of attribute default_redirect_url_after_sign_in.
3 4 5 |
# File 'lib/q_auth_ruby_client/configuration.rb', line 3 def default_redirect_url_after_sign_in @default_redirect_url_after_sign_in end |
#default_redirect_url_after_sign_out ⇒ Object
Returns the value of attribute default_redirect_url_after_sign_out.
3 4 5 |
# File 'lib/q_auth_ruby_client/configuration.rb', line 3 def default_redirect_url_after_sign_out @default_redirect_url_after_sign_out end |
#my_profile_url ⇒ Object
Returns the value of attribute my_profile_url.
3 4 5 |
# File 'lib/q_auth_ruby_client/configuration.rb', line 3 def my_profile_url @my_profile_url end |
#q_app_name ⇒ Object
Returns the value of attribute q_app_name.
3 4 5 |
# File 'lib/q_auth_ruby_client/configuration.rb', line 3 def q_app_name @q_app_name end |
#q_auth_url ⇒ Object
Returns the value of attribute q_auth_url.
3 4 5 |
# File 'lib/q_auth_ruby_client/configuration.rb', line 3 def q_auth_url @q_auth_url end |
#q_meeting_url ⇒ Object
Returns the value of attribute q_meeting_url.
3 4 5 |
# File 'lib/q_auth_ruby_client/configuration.rb', line 3 def q_meeting_url @q_meeting_url end |
#q_projects_url ⇒ Object
Returns the value of attribute q_projects_url.
3 4 5 |
# File 'lib/q_auth_ruby_client/configuration.rb', line 3 def q_projects_url @q_projects_url end |
#q_time_url ⇒ Object
Returns the value of attribute q_time_url.
3 4 5 |
# File 'lib/q_auth_ruby_client/configuration.rb', line 3 def q_time_url @q_time_url end |
#session_time_out ⇒ Object
Returns the value of attribute session_time_out.
3 4 5 |
# File 'lib/q_auth_ruby_client/configuration.rb', line 3 def session_time_out @session_time_out end |
#user_status_list ⇒ Object
Returns the value of attribute user_status_list.
3 4 5 |
# File 'lib/q_auth_ruby_client/configuration.rb', line 3 def user_status_list @user_status_list end |