Class: TokenAuthenticateMe::Configuration

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/token_authenticate_me/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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. = '/sign-up'
  self.reset_path = '/reset-password/:token/'
  self.invite_path = '/invite/:id/'
end

Instance Attribute Details

#invite_pathObject

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_pathObject

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_pathObject

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_pathObject

Returns the value of attribute signup_path.



7
8
9
# File 'lib/token_authenticate_me/configuration.rb', line 7

def 
  @signup_path
end