Class: Castle::Commands::Identify
- Inherits:
-
Object
- Object
- Castle::Commands::Identify
- Defined in:
- lib/castle/commands/identify.rb
Class Method Summary collapse
Class Method Details
.build(options = {}) ⇒ Castle::Command
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/castle/commands/identify.rb', line 9 def build( = {}) Castle::Validators::NotSupported.call(, %i[properties]) context = Castle::Context::Sanitize.call([:context]) Castle::Command.new( 'identify', .merge(context: context, sent_at: Castle::Utils::GetTimestamp.call), :post ) end |