Module: RongCloud::Services::HistoryMessage
- Included in:
- RongCloud::Service
- Defined in:
- lib/rong_cloud/services/history_message.rb
Overview
Instance Method Summary collapse
-
#delete_history(date) ⇒ Object
Delete all history message whithin specified date and hour.
-
#get_history(date) ⇒ Object
Get the download url for history messages within specified hour.
Instance Method Details
#delete_history(date) ⇒ Object
Delete all history message whithin specified date and hour
17 18 19 |
# File 'lib/rong_cloud/services/history_message.rb', line 17 def delete_history(date) request "/message/history/delete", { date: date } end |
#get_history(date) ⇒ Object
Get the download url for history messages within specified hour
9 10 11 |
# File 'lib/rong_cloud/services/history_message.rb', line 9 def get_history(date) request "/message/history", { date: date } end |