Class: DocFox::Authentication::GetService

Inherits:
BaseService
  • Object
show all
Defined in:
lib/doc_fox/authentication/get_service.rb

Instance Method Summary collapse

Instance Method Details

#callObject

Get access token.

https://www.docfoxapp.com/api/v2/documentation#tag/Authentication/paths/~1api~1v2~1authentications~1new/get

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