Class: Castle::Commands::Authenticate

Inherits:
Object
  • Object
show all
Includes:
WithContext
Defined in:
lib/castle/commands/authenticate.rb

Instance Method Summary collapse

Methods included from WithContext

#initialize

Instance Method Details

#build(options = {}) ⇒ Object



8
9
10
11
12
13
# File 'lib/castle/commands/authenticate.rb', line 8

def build(options = {})
  validate!(options)
  build_context!(options)

  Castle::Command.new('authenticate', options, :post)
end