Sha256: 641a752195f4d97730c05e80e2057863cf7601d8e68f5eb407ab9b2bc9cc41bf
Contents?: true
Size: 372 Bytes
Versions: 1
Compression:
Stored size: 372 Bytes
Contents
module RestPack::Service module Commands class List < RestPack::Service::Command optional do string :include integer :page integer :page_size end def execute self.class.serializer_class.resource(inputs, scope) end private def scope self.class.model_class.all end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
restpack_service-0.0.83 | lib/restpack_service/commands/list.rb |