Class: Spree::RoleConfiguration::Role

Inherits:
Struct
  • Object
show all
Defined in:
lib/spree/core/role_configuration.rb

Overview

An internal structure for the association between a role and a set of permissions.

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) name

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



19
20
21
# File 'lib/spree/core/role_configuration.rb', line 19

def name
  @name
end

- (Object) permission_sets

Returns the value of attribute permission_sets

Returns:

  • (Object)

    the current value of permission_sets



19
20
21
# File 'lib/spree/core/role_configuration.rb', line 19

def permission_sets
  @permission_sets
end