Lokalise APIv2 Ruby SDK

Ruby interface for the Lokalise APIv2 that represents returned data as Ruby objects.

View the Project on GitHub lokalise/ruby-lokalise-api




JWT

Get OTA JWT

Doc

@client.jwt(project_id, params = {})  # Input:
                                      ## project_id (string, required)
                                      ## params (hash)
                                      # Output:
                                      ## A JWT resource

For example:

resp = @client.jwt("123.abcd")
resp.jwt # => 'eyJ0eXAiOi...`