Generates the payload for the risk request
Parameters:
Returns:
10 11 12 13 14
# File 'lib/castle/commands/risk.rb', line 10 def build(options = {}) context = Castle::Context::Sanitize.call(options[:context]) Castle::Command.new('risk', options.merge(context: context, sent_at: Castle::Utils::GetTimestamp.call), :post) end