Sha256: d00f82a5de80b235f073e7932270f54da763af71a14b2e2f870562d94d22efb5

Contents?: true

Size: 476 Bytes

Versions: 4

Compression:

Stored size: 476 Bytes

Contents

require 'forwardable'

require 'rype/api'
require 'rype/chat'
require 'rype/chatmessage'
require 'rype/events'

module Rype
  Offline = Class.new StandardError
  Denied  = Class.new StandardError

  class << self
    extend Forwardable

    def_delegators Rype::Api,    :instance, :attach, :thread
    def_delegator  Rype::Chat,   :new, :chat
    def_delegator  Rype::Chat,   :all, :chats
    def_delegator  Rype::Events, :on

    Rype::Events.initialize_listeners
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rype-0.0.4 lib/rype.rb
rype-0.0.3 lib/rype.rb
rype-0.0.2 lib/rype.rb
rype-0.0.1 lib/rype.rb