Class: ClientAuthenticator::Configuration
- Inherits:
-
Object
- Object
- ClientAuthenticator::Configuration
- Defined in:
- lib/client_authenticator/configuration.rb
Instance Attribute Summary collapse
-
#client_id_field ⇒ Object
Returns the value of attribute client_id_field.
-
#password_field ⇒ Object
Returns the value of attribute password_field.
-
#table_name ⇒ Object
Returns the value of attribute table_name.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
4 5 6 7 8 |
# File 'lib/client_authenticator/configuration.rb', line 4 def initialize() @table_name = 'whitelisted_clients' @client_id_field = 'client_id' @password_field = 'pass_key' end |
Instance Attribute Details
#client_id_field ⇒ Object
Returns the value of attribute client_id_field.
10 11 12 |
# File 'lib/client_authenticator/configuration.rb', line 10 def client_id_field @client_id_field end |
#password_field ⇒ Object
Returns the value of attribute password_field.
10 11 12 |
# File 'lib/client_authenticator/configuration.rb', line 10 def password_field @password_field end |
#table_name ⇒ Object
Returns the value of attribute table_name.
10 11 12 |
# File 'lib/client_authenticator/configuration.rb', line 10 def table_name @table_name end |