Sha256: 12e948f37baabdad45a87d902ce24799eea8f7600d131300dbcf91b7b551407d

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

# frozen_string_literal: true

module RubyLokaliseApi
  module Rest
    module Jwt
      # Returns a JWT that can be used to work with OTA
      #
      # @see https://developers.lokalise.com/reference/create-service-jwt
      # @return [RubyLokaliseApi::Resources::Jwt]
      def jwt(project_id, params = {service: :ota})
        c_r RubyLokaliseApi::Resources::Jwt, :create, project_id, params
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-lokalise-api-7.2.0 lib/ruby_lokalise_api/rest/jwt.rb