Sha256: a4bea04399e535546f3118c2a0fd951a0265ca54d3af67caaa74ecb4895e7c13

Contents?: true

Size: 748 Bytes

Versions: 2

Compression:

Stored size: 748 Bytes

Contents

require 'yammer/version'
require 'yammer/error'
require 'yammer/configurable'
require 'yammer/api'
require 'yammer/http_adapter'
require 'yammer/client'
require 'yammer/api_handler'
require 'yammer/api_response'
require 'yammer/identity_map'
require 'yammer/base'
require 'yammer/user'
require 'yammer/group'
require 'yammer/group_membership'
require 'yammer/message'
require 'yammer/thread'

module Yammer
  class << self
    include Configurable
    include ApiHandler

    def to_s
      "<#{self.name}: #{self.options.inspect}>"
    end

  private
    def method_missing(method_name, *args, &block)
      return super unless api_handler.respond_to?(method_name)
      api_handler.send(method_name, *args, &block)
    end
  end
end
Yammer.reset!

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yammer-client-0.1.8 lib/yammer.rb
yammer-client-0.1.7 lib/yammer.rb