Class: KHL::HTTP::Invite
Overview
Constant Summary
Constants inherited from Base
Base::API_VERSION, Base::BASE_URL, Base::END_POINT
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#create(options = {}) ⇒ KHL::HTTP::Response
创建邀请链接.
-
#delete(url_code, options = {}) ⇒ KHL::HTTP::Response
删除邀请链接.
-
#list(options = {}) ⇒ KHL::HTTP::Response
获取邀请列表.
Methods inherited from Base
#get, #initialize, #post, #post_file
Constructor Details
This class inherits a constructor from KHL::HTTP::Base
Instance Method Details
#create(options = {}) ⇒ KHL::HTTP::Response
创建邀请链接
28 29 30 |
# File 'lib/khl/http/invite.rb', line 28 def create( = {}) post() end |
#delete(url_code, options = {}) ⇒ KHL::HTTP::Response
删除邀请链接
38 39 40 |
# File 'lib/khl/http/invite.rb', line 38 def delete(url_code, = {}) post(.merge(url_code: url_code)) end |
#list(options = {}) ⇒ KHL::HTTP::Response
获取邀请列表
17 18 19 |
# File 'lib/khl/http/invite.rb', line 17 def list( = {}) get() end |