Class: Profile::Thrift::RemoteUserVipService::Client
- Inherits:
-
Object
- Object
- Profile::Thrift::RemoteUserVipService::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/remote_user_vip_service.rb
Instance Method Summary collapse
- #recv_setVipEndAt ⇒ Object
- #send_setVipEndAt(uid, endAtMills) ⇒ Object
- #setVipEndAt(uid, endAtMills) ⇒ Object
Instance Method Details
#recv_setVipEndAt ⇒ Object
25 26 27 28 29 |
# File 'lib/remote_user_vip_service.rb', line 25 def recv_setVipEndAt() result = (SetVipEndAt_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'setVipEndAt failed: unknown result') end |
#send_setVipEndAt(uid, endAtMills) ⇒ Object
21 22 23 |
# File 'lib/remote_user_vip_service.rb', line 21 def send_setVipEndAt(uid, endAtMills) ('setVipEndAt', SetVipEndAt_args, :uid => uid, :endAtMills => endAtMills) end |
#setVipEndAt(uid, endAtMills) ⇒ Object
16 17 18 19 |
# File 'lib/remote_user_vip_service.rb', line 16 def setVipEndAt(uid, endAtMills) send_setVipEndAt(uid, endAtMills) return recv_setVipEndAt() end |