module Slack::Web::Api::Endpoints::Reminders
def reminders_add(options = {})
- See: https://github.com/dblock/slack-api-ref/blob/master/methods/reminders/reminders.add.json -
See: https://api.slack.com/methods/reminders.add -
Options Hash:
(**options)-
:user(user) -- -
:time(Object) -- -
:text(Object) --
def reminders_add(options = {}) throw ArgumentError.new('Required arguments :text missing') if options[:text].nil? throw ArgumentError.new('Required arguments :time missing') if options[:time].nil? options = options.merge(user: users_id(options)['user']['id']) if options[:user] post('reminders.add', options) end