Sha256: b1495e73ed08cd80857987df22e807c22ae8a4536d5baaa91b42d8b828884b19
Contents?: true
Size: 343 Bytes
Versions: 8
Compression:
Stored size: 343 Bytes
Contents
# frozen_string_literal: true module PUNK class ListTenantUsersAction < Action args :tenant def validate validates_not_null :tenant validates_not_empty :tenant return if tenant.blank? validates_type Tenant, :tenant end def process present ListUsersView, users: tenant.users end end end
Version data entries
8 entries across 8 versions & 1 rubygems