Class: Zaig::Configuration
- Inherits:
-
Object
- Object
- Zaig::Configuration
- Defined in:
- lib/zaig.rb
Overview
Basic configuration settings
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
- #jwt_algorithm ⇒ Object
-
#jwt_secret ⇒ Object
Returns the value of attribute jwt_secret.
-
#jwt_user ⇒ Object
Returns the value of attribute jwt_user.
- #registration_endpoint ⇒ Object
Instance Attribute Details
#base_url ⇒ Object
Returns the value of attribute base_url.
51 52 53 |
# File 'lib/zaig.rb', line 51 def base_url @base_url end |
#jwt_algorithm ⇒ Object
54 55 56 |
# File 'lib/zaig.rb', line 54 def jwt_algorithm @jwt_algorithm ||= "HS256" end |
#jwt_secret ⇒ Object
Returns the value of attribute jwt_secret.
51 52 53 |
# File 'lib/zaig.rb', line 51 def jwt_secret @jwt_secret end |
#jwt_user ⇒ Object
Returns the value of attribute jwt_user.
51 52 53 |
# File 'lib/zaig.rb', line 51 def jwt_user @jwt_user end |
#registration_endpoint ⇒ Object
58 59 60 |
# File 'lib/zaig.rb', line 58 def registration_endpoint @registration_endpoint ||= "zaig/consulta_de_credito" end |