Sha256: b662acf1a4b97306c41bfef6bf92942b608bc73405be16f88188a9fe0aa64fb0

Contents?: true

Size: 558 Bytes

Versions: 1

Compression:

Stored size: 558 Bytes

Contents

require 'bigcartel/client'

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

    # Delegate to Twitter::Client
    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
bigcartel-1.0.0 lib/bigcartel.rb