Sha256: 3530ca8181983e12e6335e1cd8d2ce8622fd0152f7c7725a40117ace3e9bf3f5

Contents?: true

Size: 328 Bytes

Versions: 3

Compression:

Stored size: 328 Bytes

Contents

module Mac
  module Skype
    class Api
      attr_accessor :callback, :attach

      def initialize
        @attach = 0
        init
      end

      def debug?
        !ENV['DEBUG'].nil?
      end

      def receive_event(response)
        if callback
          callback.call(response)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mac-skype-0.0.3-x86_64-darwin-13 lib/mac-skype/api.rb
mac-skype-0.0.2-x86_64-darwin-11 lib/mac-skype/api.rb
mac-skype-0.0.1-x86_64-darwin-11 lib/mac-skype/api.rb