Method: Phrase::VariablesApi#variables_list

Defined in:
lib/phrase/api/variables_api.rb

#variables_list(project_id, opts = {}) ⇒ Array<Variable>

List variables List all variables for the current project.

Parameters:

  • project_id (String)

    Project ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :x_phrase_app_otp (String)

    Two-Factor-Authentication token (optional)

  • :page (Integer)

    Page number

  • :per_page (Integer)

    Limit on the number of objects to be returned, between 1 and 100. 25 by default

Returns:



314
315
316
317
# File 'lib/phrase/api/variables_api.rb', line 314

def variables_list(project_id, opts = {})
  data, _status_code, _headers = variables_list_with_http_info(project_id, opts)
  data
end