Sha256: 41e0600f585b10c3b423c52ee70c85a1be2c22bf871e2e2a353a6051cc93a60c
Contents?: true
Size: 681 Bytes
Versions: 12
Compression:
Stored size: 681 Bytes
Contents
require 'lapse/version' require 'lapse/client' require 'lapse/error' # Lapse, as in teeter-Lapse, let's you work with the Seesaw API in Ruby. module Lapse class << self # Alias for Lapse::Client.new # # @return [Lapse::Client] def new(options = {}) Client.new(options) end # Delegate to Lapse::Client.new def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end # Forward respond_to? to Lapse::Client.new def respond_to?(method, include_private = false) new.respond_to?(method, include_private) || super(method, include_private) end end end
Version data entries
12 entries across 12 versions & 1 rubygems