Module: PermissifiedProductsInterface::Merchant
- Includes:
- Permissify::Union
- Defined in:
- lib/generators/permissify/product/template/interface/merchant.rb
Constant Summary collapse
- PERMISSIFIED_ASSOCIATION =
:permissible_products
Instance Method Summary collapse
Methods included from Permissify::Union
Methods included from Permissify::Common
#allowed_to?, #createable?, #deleteable?, #log_permissions, #permissible?, #subscribed_to?, #updateable?, #viewable?
Instance Method Details
#permissible_products ⇒ Object
3 4 5 |
# File 'lib/generators/permissify/product/template/interface/merchant.rb', line 3 def permissible_products self.corporation.products + self.brand.products + self.products end |