Sha256: 1e84997d32d28c1633b649161d84da13f29827c597bde5b7241945f0f1858f95

Contents?: true

Size: 420 Bytes

Versions: 5

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true

require 'zeitwerk'
require 'yaml'
require 'faraday'
require 'addressable/template'
require 'forwardable'

loader = Zeitwerk::Loader.for_gem
loader.setup

module RatingChgkV2
  class << self
    def client(token: '', params: {})
      @client = RatingChgkV2::Client.new token: token, params: params
    end

    def reset_client!
      @client = nil
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rating-chgk-v2-1.4.0 lib/rating_chgk_v2.rb
rating-chgk-v2-1.3.0 lib/rating_chgk_v2.rb
rating-chgk-v2-1.2.0 lib/rating_chgk_v2.rb
rating-chgk-v2-1.1.0 lib/rating_chgk_v2.rb
rating-chgk-v2-1.0.1 lib/rating_chgk_v2.rb