Sha256: 0adfc7df0293307e1e09061e3c10b098d329e37925a575995699982bfc004805

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

Stored size: 237 Bytes

Contents

# frozen_string_literal: true

require 'plausible_api/api/client'

module PlausibleApi
  class << self
    attr_writer :logger

    def logger
      @logger ||= Logger.new($stdout).tap { |log| log.progname = self.name }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
plausible_api-0.0.3 lib/plausible_api.rb
plausible_api-0.0.2 lib/plausible_api.rb
plausible_api-0.0.1 lib/plausible_api.rb