Sha256: c5afb49f9c030591a4091d0ad5e34a3837b4a658c88a1d023e645bda7f028c90

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

module Lemondrop
  class << self
    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
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lemondrop-0.1.2 lib/lemondrop/send_connection.rb
lemondrop-0.1.1 lib/lemondrop/send_connection.rb
lemondrop-0.1.0 lib/lemondrop/send_connection.rb