Class: Gerencianet::Endpoints
- Inherits:
-
Object
- Object
- Gerencianet::Endpoints
- Defined in:
- lib/gerencianet/endpoints.rb
Overview
Given the constants file, with the endpoints signatures, this class maps each one of them to a concerning function
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#endpoints ⇒ Object
readonly
Returns the value of attribute endpoints.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#token ⇒ Object
Returns the value of attribute token.
-
#urls ⇒ Object
readonly
Returns the value of attribute urls.
Instance Method Summary collapse
-
#initialize(options) ⇒ Endpoints
constructor
A new instance of Endpoints.
Constructor Details
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
14 15 16 |
# File 'lib/gerencianet/endpoints.rb', line 14 def base_url @base_url end |
#endpoints ⇒ Object (readonly)
Returns the value of attribute endpoints.
12 13 14 |
# File 'lib/gerencianet/endpoints.rb', line 12 def endpoints @endpoints end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
15 16 17 |
# File 'lib/gerencianet/endpoints.rb', line 15 def @options end |
#token ⇒ Object
Returns the value of attribute token.
11 12 13 |
# File 'lib/gerencianet/endpoints.rb', line 11 def token @token end |
#urls ⇒ Object (readonly)
Returns the value of attribute urls.
13 14 15 |
# File 'lib/gerencianet/endpoints.rb', line 13 def urls @urls end |