Class: Zaig::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/zaig.rb

Overview

Basic configuration settings

Instance Attribute Summary collapse

Instance Attribute Details

#base_urlObject

Returns the value of attribute base_url.



51
52
53
# File 'lib/zaig.rb', line 51

def base_url
  @base_url
end

#jwt_algorithmObject



54
55
56
# File 'lib/zaig.rb', line 54

def jwt_algorithm
  @jwt_algorithm ||= "HS256"
end

#jwt_secretObject

Returns the value of attribute jwt_secret.



51
52
53
# File 'lib/zaig.rb', line 51

def jwt_secret
  @jwt_secret
end

#jwt_userObject

Returns the value of attribute jwt_user.



51
52
53
# File 'lib/zaig.rb', line 51

def jwt_user
  @jwt_user
end

#registration_endpointObject



58
59
60
# File 'lib/zaig.rb', line 58

def registration_endpoint
  @registration_endpoint ||= "zaig/consulta_de_credito"
end