Class: Castle::Commands::Authenticate
- Inherits:
-
Object
- Object
- Castle::Commands::Authenticate
- Includes:
- WithContext
- Defined in:
- lib/castle/commands/authenticate.rb
Instance Method Summary collapse
Methods included from WithContext
Instance Method Details
#build(options = {}) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/castle/commands/authenticate.rb', line 8 def build( = {}) validate!() build_context!() Castle::Command.new('authenticate', , :post) end |