Sha256: c34df0499903799025260a2d43bab0e1d90ffb9acc004c564262a94e6c6bdb48

Contents?: true

Size: 305 Bytes

Versions: 3

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

module TestClient
  def test_client(token = nil, params = {})
    Lokalise.client(token || ENV['LOKALISE_API_TOKEN'], params)
  end

  def test_oauth_client(token = nil, params = {})
    Lokalise.oauth_client(token || ENV['LOKALISE_API_TOKEN'], params)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-lokalise-api-4.5.1 spec/support/test_client.rb
ruby-lokalise-api-4.5.0 spec/support/test_client.rb
ruby-lokalise-api-4.4.0 spec/support/test_client.rb