Sha256: 7aff401ec64b9b7a55f94721246beacad8528fb277c5065b58a9a5abec090821
Contents?: true
Size: 357 Bytes
Versions: 2
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true module RubyLokaliseApi # Client used to perform API requests with an OAuth2 access token class OAuth2Client < Client include RubyLokaliseApi::Rest def initialize(token, params = {}) super(token, params) @token_header = 'Authorization' @token = "Bearer #{@token}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-lokalise-api-8.0.0 | lib/ruby_lokalise_api/oauth2_client.rb |
ruby-lokalise-api-8.0.0.rc1 | lib/ruby_lokalise_api/oauth2_client.rb |