modules/check_in/app/services/chip_api/token.rb
##
# Return a token instance that was built using the claims_token
#
# @return [ChipApi::Token]
#
Return a token instance that was built using the claims_token
Return a token instance that was built using the claims_token
def fetch
      response = request.post(path: "/#{base_path}/token", claims_token: claims_token.static)
      self.access_token = Oj.load(response.body)['token']
      self
    end
def fetch response = request . post ( path : "/#{base_path}/token" , claims_token : claims_token . static ) self . access_token = Oj . load ( response . body ) [ 'token' ] self end
Return a token instance that was built using the claims_token
Return a token instance that was built using the claims_token
None
ChipApi::Token