Sha256: 4286435792b05aa06dc85a4b6c0f45d3667d582f5ec0aa923f918a05ac26a3ac
Contents?: true
Size: 305 Bytes
Versions: 4
Compression:
Stored size: 305 Bytes
Contents
# frozen_string_literal: true module RubyLokaliseApi # Client used to perform API requests with an OAuth2 access token class OAuth2Client < Client def initialize(token, params = {}) super @token_header = 'Authorization' @token = "Bearer #{@token}" end end end
Version data entries
4 entries across 4 versions & 1 rubygems