Module: YammerApi

Defined in:
lib/yammer_api.rb,
lib/yammer_api/api.rb,
lib/yammer_api/base.rb,
lib/yammer_api/mash.rb,
lib/yammer_api/post.rb,
lib/yammer_api/user.rb,
lib/yammer_api/client.rb,
lib/yammer_api/errors.rb,
lib/yammer_api/helper.rb,
lib/yammer_api/version.rb,
lib/yammer_api/api/feed.rb,
lib/yammer_api/api/likes.rb,
lib/yammer_api/api/users.rb,
lib/yammer_api/api/messages.rb,
lib/yammer_api/request/request.rb

Defined Under Namespace

Modules: Api, Errors, Helper, Request Classes: Base, Client, Mash, Post, User

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.method_missing(method, *args, &block) ⇒ Object

Delegate to Yammer::Client



22
23
24
25
# File 'lib/yammer_api.rb', line 22

def method_missing(method, *args, &block)
  return super unless new.respond_to?(method)
  new.send(method, *args, &block)
end

.new(options = {}) ⇒ YammerApi::Client

Alias for YammerApi::Client.new

Returns:



17
18
19
# File 'lib/yammer_api.rb', line 17

def new(options={})
  YammerApi::Client.new(options)
end

.respond_to?(method, include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/yammer_api.rb', line 27

def respond_to?(method, include_private = false)
  new.respond_to?(method, include_private) || super(method, include_private)
end