class RestPack::Service::Commands::List
Public Instance Methods
execute()
click to toggle source
# File lib/restpack_service/commands/list.rb, line 10 def execute self.class.serializer_class.resource(inputs, scope) end
Private Instance Methods
scope()
click to toggle source
# File lib/restpack_service/commands/list.rb, line 16 def scope self.class.model_class.all end