Module: CITLunch

Defined in:
lib/pebbles/citlunch.rb,
lib/pebbles/citlunch/menu.rb,
lib/pebbles/citlunch/client.rb,
lib/pebbles/citlunch/version.rb

Defined Under Namespace

Classes: Client, Menu

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

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



11
12
13
14
# File 'lib/pebbles/citlunch.rb', line 11

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

.new(options = {}) ⇒ Object



7
8
9
# File 'lib/pebbles/citlunch.rb', line 7

def new options={}
  CITLunch::Client.new
end