Class: Sequent::Core::TenantCommand
- Inherits:
-
Command
- Object
- BaseCommand
- Command
- Sequent::Core::TenantCommand
- Defined in:
- lib/sequent/core/command.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ TenantCommand
constructor
A new instance of TenantCommand.
Methods included from Helpers::TypeConversionSupport
Methods included from Helpers::Copyable
Methods included from Helpers::AttributeSupport
#attributes, included, #validation_errors
Methods included from Helpers::UuidHelper
Methods included from Helpers::EqualSupport
Methods included from Helpers::ParamSupport
#as_params, included, #to_params
Methods included from Helpers::Mergable
Constructor Details
#initialize(args = {}) ⇒ TenantCommand
Returns a new instance of TenantCommand.
69 70 71 72 |
# File 'lib/sequent/core/command.rb', line 69 def initialize(args = {}) raise ArgumentError, "Missing organization_id" if args[:organization_id].nil? super end |