Class: TokenAuthenticateMe::Configuration
- Inherits:
-
Object
- Object
- TokenAuthenticateMe::Configuration
- Includes:
- Singleton
- Defined in:
- lib/token_authenticate_me/configuration.rb
Instance Attribute Summary collapse
-
#invite_path ⇒ Object
Returns the value of attribute invite_path.
-
#mount_path ⇒ Object
Returns the value of attribute mount_path.
-
#reset_path ⇒ Object
Returns the value of attribute reset_path.
-
#signup_path ⇒ Object
Returns the value of attribute signup_path.
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/token_authenticate_me/configuration.rb', line 9 def initialize self.mount_path = 'token_authenticate_me' self.signup_path = '/sign-up' self.reset_path = '/reset-password/:token/' self.invite_path = '/invite/:id/' end |
Instance Attribute Details
#invite_path ⇒ Object
Returns the value of attribute invite_path.
7 8 9 |
# File 'lib/token_authenticate_me/configuration.rb', line 7 def invite_path @invite_path end |
#mount_path ⇒ Object
Returns the value of attribute mount_path.
7 8 9 |
# File 'lib/token_authenticate_me/configuration.rb', line 7 def mount_path @mount_path end |
#reset_path ⇒ Object
Returns the value of attribute reset_path.
7 8 9 |
# File 'lib/token_authenticate_me/configuration.rb', line 7 def reset_path @reset_path end |
#signup_path ⇒ Object
Returns the value of attribute signup_path.
7 8 9 |
# File 'lib/token_authenticate_me/configuration.rb', line 7 def signup_path @signup_path end |