Sha256: 2b53d0933d8586f4fa23523996e6231dc059edf7969d8073f4bf3cc4763914bb

Contents?: true

Size: 320 Bytes

Versions: 8

Compression:

Stored size: 320 Bytes

Contents

require 'lolp/version'
require 'lolp/client'

module Lolp
  class << self
    def client
      @client ||= Lolp::Client.new
    end

    def method_missing(method_name, *args, &block)
      if client.respond_to?(method_name)
        return client.send(method_name, *args, &block)
      end
      super
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
lolp-0.8.2 lib/lolp.rb
lolp-0.8.1 lib/lolp.rb
lolp-0.8.0 lib/lolp.rb
lolp-0.7.0 lib/lolp.rb
lolp-0.6.0 lib/lolp.rb
lolp-0.5.0 lib/lolp.rb
lolp-0.4.0 lib/lolp.rb
lolp-0.3.0 lib/lolp.rb