Commit c8133d40 by Victor Wang

quick fix

parent 99d96910
......@@ -6,24 +6,25 @@ require 'digest/md5'
require 'base64'
module IGeTui
extend self
extend Forwardable
class << self
extend Forwardable
API_URL = "http://sdk.open.api.igexin.com/apiex.htm"
API_URL = "http://sdk.open.api.igexin.com/apiex.htm"
attr_reader :pusher
attr_reader :pusher
def_delegators :pusher, :push_message_to_single
def_delegators :pusher, :push_message_to_list
def_delegators :pusher, :push_message_to_app
def_delegators :pusher, :stop
def_delegators :pusher, :get_client_id_status
def_delegators :pusher, :get_content_id, :cancel_content_id
def_delegators :pusher, :push_message_to_single
def_delegators :pusher, :push_message_to_list
def_delegators :pusher, :push_message_to_app
def_delegators :pusher, :stop
def_delegators :pusher, :get_client_id_status
def_delegators :pusher, :get_content_id, :cancel_content_id
def pusher(app_id, api_key, master_secret)
@pusher ||= IGeTui::Pusher.new(API_URL, app_id, api_key, master_secret)
end
def pusher(app_id, api_key, master_secret)
@pusher ||= IGeTui::Pusher.new(API_URL, app_id, api_key, master_secret)
end
end
end
require "igetui/version"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment