Sha256: 2f17dfac7178a175201104e77bcc66406c7ce1b0497f6b3986fed1814c750be8
Contents?: true
Size: 409 Bytes
Versions: 1
Compression:
Stored size: 409 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_oauth2_client(token = nil, params = {}) Lokalise.oauth2_client(token || ENV['OAUTH2_TOKEN'], params) end def auth_client Lokalise.auth_client(ENV['OAUTH2_CLIENT_ID'], ENV['OAUTH2_CLIENT_SECRET']) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-lokalise-api-5.0.0 | spec/support/test_client.rb |