Module: Lemondrop

Defined in:
lib/lemondrop.rb,
lib/lemondrop/version.rb,
lib/lemondrop/send_connection.rb

Defined Under Namespace

Classes: Plugin

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.method_missing(meth, *args, &blk) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/lemondrop/send_connection.rb', line 3

def method_missing(meth, *args, &blk)
  if Lemondrop::Plugin::Service.connection && Lemondrop::Plugin::Service.connection.respond_to?(meth)
    Lemondrop::Plugin::Service.connection.send meth, *args, &blk
  else
    super
  end
end