Class: Yes::Core::Aggregate::HasAuthorizer::AuthorizerOptions

Inherits:
Struct
  • Object
show all
Defined in:
lib/yes/core/aggregate/has_authorizer.rb

Overview

Mutable struct for holding authorizer options

Since:

  • 0.1.0

Instance Attribute Summary collapse

Instance Attribute Details

#aggregateObject

Returns the value of attribute aggregate

Returns:

  • (Object)

    the current value of aggregate



16
17
18
# File 'lib/yes/core/aggregate/has_authorizer.rb', line 16

def aggregate
  @aggregate
end

#authorizer_base_classObject

Returns the value of attribute authorizer_base_class

Returns:

  • (Object)

    the current value of authorizer_base_class



16
17
18
# File 'lib/yes/core/aggregate/has_authorizer.rb', line 16

def authorizer_base_class
  @authorizer_base_class
end

#authorizer_blockObject

Returns the value of attribute authorizer_block

Returns:

  • (Object)

    the current value of authorizer_block



16
17
18
# File 'lib/yes/core/aggregate/has_authorizer.rb', line 16

def authorizer_block
  @authorizer_block
end

#changes_read_model_classObject

Returns the value of attribute changes_read_model_class

Returns:

  • (Object)

    the current value of changes_read_model_class



16
17
18
# File 'lib/yes/core/aggregate/has_authorizer.rb', line 16

def changes_read_model_class
  @changes_read_model_class
end

#contextObject

Returns the value of attribute context

Returns:

  • (Object)

    the current value of context



16
17
18
# File 'lib/yes/core/aggregate/has_authorizer.rb', line 16

def context
  @context
end

#draftableObject

Returns the value of attribute draftable

Returns:

  • (Object)

    the current value of draftable



16
17
18
# File 'lib/yes/core/aggregate/has_authorizer.rb', line 16

def draftable
  @draftable
end

#read_model_classObject

Returns the value of attribute read_model_class

Returns:

  • (Object)

    the current value of read_model_class



16
17
18
# File 'lib/yes/core/aggregate/has_authorizer.rb', line 16

def read_model_class
  @read_model_class
end

#resource_nameObject

Returns the value of attribute resource_name

Returns:

  • (Object)

    the current value of resource_name



16
17
18
# File 'lib/yes/core/aggregate/has_authorizer.rb', line 16

def resource_name
  @resource_name
end