Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
igetui-ruby
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
igetui-ruby
Commits
c8133d40
Commit
c8133d40
authored
Aug 12, 2014
by
Victor Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quick fix
parent
99d96910
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
lib/igetui_ruby.rb
+14
-13
No files found.
lib/igetui_ruby.rb
View file @
c8133d40
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment