Method: MangoApi::FileStorage#file_path

Defined in:
lib/mangopay/api/auth_token_manager.rb

#file_path(client_id) ⇒ Object

Generates the file path to a certain client’s OAuth token file.

Parameters:

  • +client_id+

    ID of the client whose file path to generate



146
147
148
# File 'lib/mangopay/api/auth_token_manager.rb', line 146

def file_path(client_id)
  File.join(@temp_dir, "mangopay_oauth_token_#{client_id}.tmp")
end