Sha256: 92604743cb3602416dd78c66cd3dec3b6eadf5c2cc72cd30e1dbe3996cf020f8

Contents?: true

Size: 510 Bytes

Versions: 2

Compression:

Stored size: 510 Bytes

Contents

# frozen_string_literal: true

class DummyClassForTokens
  include Minty::Mixins::HTTPProxy
  include Minty::Mixins::Headers
  include Minty::Mixins::Initializer

  def initialize(config)
    extend Minty::Api::AuthenticationEndpoints
    @client_id = config[:client_id]
    @client_secret = config[:client_secret]
    @audience = config[:api_identifier]
    @domain = config[:domain]
    @base_uri = "https://#{@domain}"
    @token = config[:token]
    @token_expires_at = config[:token_expires_at]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
minty-1.0.1 spec/support/dummy_class_for_tokens.rb
minty-1.0.0 spec/support/dummy_class_for_tokens.rb