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
ba3db93d
Commit
ba3db93d
authored
Aug 08, 2014
by
Victor Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改说明文件,增加如何测试的说明
parent
0a0b2499
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
README.md
+17
-3
No files found.
README.md
View file @
ba3db93d
...
...
@@ -18,7 +18,7 @@ Or install it yourself as:
## Usage
** Push Message To Single **
### Push Message To Single
pusher = IGeTui.pusher(your_app_id, your_app_key, your_master_secret)
...
...
@@ -40,7 +40,7 @@ Or install it yourself as:
ret = pusher.push_message_to_single(single_message, client)
p ret
** Push Message To List **
### Push Message To List
pusher = IGeTui.pusher(your_app_id, your_app_key, your_master_secret)
...
...
@@ -69,7 +69,7 @@ Or install it yourself as:
content_id = pusher.get_content_id(list_message)
ret = pusher.push_message_to_list(content_id, client_list)
** Push Message To App **
### Push Message To App
pusher = IGeTui.pusher(your_app_id, your_app_key, your_master_secret)
...
...
@@ -89,6 +89,20 @@ Or install it yourself as:
ret = pusher.push_message_to_app(app_message)
p ret
### Custom Test
require 'rubygems'
require 'IGeTui'
@pusher = IGeTui.pusher(your_app_id, your_app_key, your_master_secret)
ret = @pusher.get_client_id_status(@cid_1)
p ret
### Run Test
# 运行测试之前,请先修改 test/pusher_test.rb 中的相关配置
rake test
## Contributing
1.
Fork it ( http://github.com/
<my-github-username>
/igetui-ruby/fork )
...
...
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