Sha256: fd904f12fb084ca3aaac01c93c6d71f37310434e8fa9b96e1ef3d41667512108

Contents?: true

Size: 256 Bytes

Versions: 4

Compression:

Stored size: 256 Bytes

Contents

module Yammer
  module ApiHandler
    def api_handler
      @api_handler ||= establish_api_handler
    end

    def establish_api_handler(opts={})
      Yammer::Client.new(opts)
    end

    def reset_api_handler!
      @api_handler = nil
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yammer-client-0.1.6 lib/yammer/api_handler.rb
yammer-client-0.1.5 lib/yammer/api_handler.rb
yammer-client-0.1.4 lib/yammer/api_handler.rb
yammer-client-0.1.3 lib/yammer/api_handler.rb