Module: Murmur

Defined in:
lib/murmur.rb,
lib/murmur/user.rb,
lib/murmur/server.rb,
lib/murmur/channel.rb,
lib/murmur/version.rb,
lib/murmur/ice_interface.rb

Defined Under Namespace

Modules: API

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.client(options = {}) ⇒ Object



9
10
11
# File 'lib/murmur.rb', line 9

def self.client(options={})
    @client = Murmur::API::Meta.new(options)
end

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



13
14
15
16
# File 'lib/murmur.rb', line 13

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

.respond_to?(method) ⇒ Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/murmur.rb', line 18

def self.respond_to?(method)
    return @client.respond_to?(method) || super
end