Sha256: 78e19f699f949bd5fb2821f1ee0f47fd819a8a2b4c28f51096f0a8373c9583f9

Contents?: true

Size: 422 Bytes

Versions: 2

Compression:

Stored size: 422 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

2 entries across 2 versions & 1 rubygems

Version Path
rating-chgk-v2-1.0.0 lib/rating_chgk_v2.rb
rating-chgk-v2-1.0.0.rc1 lib/rating_chgk_v2.rb