Class: Templet::Utils::LinkSetFactory
- Inherits:
-
Struct
- Object
- Struct
- Templet::Utils::LinkSetFactory
- Defined in:
- app/helpers/templet/utils/link_set_factory.rb,
lib/generators/templet/templates/core/templet/utils/link_set_factory.rb
Overview
Creates lists of HTML links for REST actions
Direct Known Subclasses
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#klass ⇒ Object
Returns the value of attribute klass.
-
#options ⇒ Object
Returns the value of attribute options.
-
#renderer ⇒ Object
Returns the value of attribute renderer.
Instance Method Summary collapse
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
5 6 7 |
# File 'app/helpers/templet/utils/link_set_factory.rb', line 5 def action @action end |
#klass ⇒ Object
Returns the value of attribute klass
5 6 7 |
# File 'app/helpers/templet/utils/link_set_factory.rb', line 5 def klass @klass end |
#options ⇒ Object
Returns the value of attribute options
5 6 7 |
# File 'app/helpers/templet/utils/link_set_factory.rb', line 5 def @options end |
#renderer ⇒ Object
Returns the value of attribute renderer
5 6 7 |
# File 'app/helpers/templet/utils/link_set_factory.rb', line 5 def renderer @renderer end |
Instance Method Details
#call(**extra_options) ⇒ Object
6 7 8 |
# File 'app/helpers/templet/utils/link_set_factory.rb', line 6 def call(**) create end |