Sha256: 2c3e4fe84d163605f71f80efc999bf7108159af92ea90d3f1db722cac9bc76c4

Contents?: true

Size: 617 Bytes

Versions: 8

Compression:

Stored size: 617 Bytes

Contents

require 'slideshare/error'
require 'slideshare/configuration'
require 'slideshare/client'
require 'slideshare/api'


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

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

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


Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
ruby-slideshare-0.1.7 lib/slideshare.rb
ruby-slideshare-0.1.6 lib/slideshare.rb
ruby-slideshare-0.1.5 lib/slideshare.rb
ruby-slideshare-0.1.3 lib/slideshare.rb
ruby-slideshare-0.1.2 lib/slideshare.rb
super-mega-slideshare-0.1.2 lib/slideshare.rb
super-mega-slideshare-0.1.1 lib/slideshare.rb
super-mega-slideshare-0.1.0 lib/slideshare.rb