Class: RestPack::Service::Commands::List
- Inherits:
-
RestPack::Service::Command
- Object
- Mutations::Command
- RestPack::Service::Command
- RestPack::Service::Commands::List
- Defined in:
- lib/restpack_service/commands/list.rb
Instance Attribute Summary
Attributes inherited from RestPack::Service::Command
Instance Method Summary collapse
Methods inherited from RestPack::Service::Command
#Model, #Serializer, #field_error, inherited, #init, #run, #service_error, #status, #valid?
Instance Method Details
#execute ⇒ Object
10 11 12 |
# File 'lib/restpack_service/commands/list.rb', line 10 def execute self.class.serializer_class.resource(inputs, scope) end |