Class: DocFox::Authentication::GetService
- Inherits:
-
BaseService
- Object
- BaseService
- DocFox::Authentication::GetService
- Defined in:
- lib/doc_fox/authentication/get_service.rb
Instance Method Summary collapse
-
#call ⇒ Object
Get access token.
Instance Method Details
#call ⇒ Object
Get access token.
Examples
service = DocFox::Authentication::GetService.call
service.nonce # => ''
service.digest_algorithm # => ''
GET /api/v2/authentications/new
23 24 25 |
# File 'lib/doc_fox/authentication/get_service.rb', line 23 def call connection.get('authentications/new') end |