Sha256: 3dc0a900f4ccb45b302ec010795157ef68f496ab0cd42f7c2247b165972f25d1

Contents?: true

Size: 244 Bytes

Versions: 1

Compression:

Stored size: 244 Bytes

Contents

# frozen_string_literal: true

module Lokalise
  class OAuth2Client < Client
    def initialize(token, params = {})
      super(token, params)
      @token_header = 'Authorization'
      @token = "Bearer #{@token}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-lokalise-api-5.0.0 lib/ruby-lokalise-api/oauth2_client.rb