Sha256: 8fb84bba0a48805a869b7a68c4bbc60cf0777d983662fc0e3349064c7b7d5acc

Contents?: true

Size: 704 Bytes

Versions: 1

Compression:

Stored size: 704 Bytes

Contents

require File.expand_path('../jibeset/error', __FILE__)
require File.expand_path('../jibeset/configuration', __FILE__)
require File.expand_path('../jibeset/api', __FILE__)
require File.expand_path('../jibeset/client', __FILE__)

module Jibeset
  extend Configuration

  # Alias for Jibeset::Client.new
  #
  # @return [Jibeset::Client]
  def self.client(options={})
    Jibeset::Client.new(options)
  end

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

  # Delegate to Jibeset::Client
  def self.respond_to?(method)
    return client.respond_to?(method) || super
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jibeset-0.2 lib/jibeset.rb