Class: KHL::HTTP::Badge
Overview
Constant Summary
Constants inherited from Base
KHL::HTTP::Base::API_VERSION, KHL::HTTP::Base::BASE_URL, KHL::HTTP::Base::END_POINT
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#get, #initialize, #post, #post_file
Constructor Details
This class inherits a constructor from KHL::HTTP::Base
Instance Method Details
#guild(guild_id, options = {}) ⇒ KHL::HTTP::Response
获取服务器徽章
15 16 17 |
# File 'lib/khl/http/badge.rb', line 15 def guild(guild_id, = {}) get(.merge(guild_id: guild_id)) end |