Class: Aliexpress::Message

Inherits:
Base
  • Object
show all
Defined in:
lib/aliexpress/message.rb

Constant Summary

Constants inherited from Base

Base::ACCESS_TOKEN_KEY, Base::REFRESH_TOKEN_KEY

Class Method Summary collapse

Methods inherited from Base

api_endpoint

Class Method Details

.cursorMessageList(params = {}) ⇒ Object

Parameters:

  • params (Hash) (defaults to: {})
    • 应用参数


25
26
27
# File 'lib/aliexpress/message.rb', line 25

def self.cursorMessageList(params = {})
  api_endpoint 'push.cursor.messageList', params
end

.messageConfirm(params = {}) ⇒ Object

Parameters:

  • params (Hash) (defaults to: {})
    • 应用参数


17
18
19
# File 'lib/aliexpress/message.rb', line 17

def self.messageConfirm(params = {})
  api_endpoint 'push.message.confirm', params
end

.queryMessageList(params = {}) ⇒ Object

查询获取失败的消息列表 - 需要申请权限 地址: gw.api.alibaba.com/dev/doc/intl/api.htm?ns=aliexpress.open&n=push.query.messageList&v=1

Parameters:

  • params (Hash) (defaults to: {})
    • 应用级参数


9
10
11
# File 'lib/aliexpress/message.rb', line 9

def self.queryMessageList(params = {})
  api_endpoint 'push.query.messageList', params
end