Sha256: 0f2048ab84b3b1cb918cc0b9a96e395988d576af974316e966b4cea26684b82c

Contents?: true

Size: 470 Bytes

Versions: 4

Compression:

Stored size: 470 Bytes

Contents

# frozen_string_literal: true
# @deprecated use {#Zendesk2}
module Zendesk2::Client
  class << self
    def respond_to_missing?(method, *)
      Zendesk2.respond_to?(method) || super
    end

    def method_missing(message, *args, &block)
      Cistern.deprecation('Zendesk2::Client is deprecated, use Zendesk2', caller[1])

      if Zendesk2.respond_to?(message)
        Zendesk2.public_send(message, *args, &block)
      else
        super
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zendesk2-1.15.0 lib/zendesk2/client.rb
zendesk2-1.13.1 lib/zendesk2/client.rb
zendesk2-1.13.0 lib/zendesk2/client.rb
zendesk2-1.12.0 lib/zendesk2/client.rb