Sha256: 7dad58c903cf19ffd3f98d6509682584a7dbb9780d91cba883151bc58c009b1d

Contents?: true

Size: 243 Bytes

Versions: 3

Compression:

Stored size: 243 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-lokalise-api-4.5.1 lib/ruby-lokalise-api/oauth_client.rb
ruby-lokalise-api-4.5.0 lib/ruby-lokalise-api/oauth_client.rb
ruby-lokalise-api-4.4.0 lib/ruby-lokalise-api/oauth_client.rb