Sha256: 86a28bd495dc5e70a5152a9bfb9d9f24bea8319f18ef6a94a77eecdbc838818d

Contents?: true

Size: 702 Bytes

Versions: 1

Compression:

Stored size: 702 Bytes

Contents

require "kewego_party/version"

require 'api_cache'

require 'kewego_party/configuration'
require 'kewego_party/client'
require 'kewego_party/exceptions'

module KewegoParty
  extend Configuration
  class << self
    # Alias for KewegoParty::Client.new
    #
    # @return [KewegoParty::Client]
    def new(options={})
      KewegoParty::Client.new(options)
    end

    # Delegate to KewegoParty::Client.new
    def method_missing(method, *args, &block)
      return super unless new.respond_to?(method)
      new.send(method, *args, &block)
    end

    def respond_to?(method, include_private=false)
      new.respond_to?(method, include_private) || super(method, include_private)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kewego_party-0.0.1 lib/kewego_party.rb