Class: HasHelpers::Resource::ActionPresenter
- Inherits:
-
BasePresenter
- Object
- BasePresenter
- HasHelpers::Resource::ActionPresenter
- Defined in:
- app/presenters/has_helpers/resource/action_presenter.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
href attribute.
-
#icon ⇒ Object
href attribute.
-
#service ⇒ Object
href attribute.
-
#title ⇒ Object
href attribute.
Attributes inherited from BasePresenter
Method Summary
Methods inherited from BasePresenter
#==, #error_on, #initialize, wrap, wrap_with_options
Methods included from Attributes
Constructor Details
This class inherits a constructor from HasHelpers::BasePresenter
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HasHelpers::BasePresenter
Instance Attribute Details
#data ⇒ Object
href attribute
4 5 6 |
# File 'app/presenters/has_helpers/resource/action_presenter.rb', line 4 def data @data end |
#icon ⇒ Object
href attribute
4 5 6 |
# File 'app/presenters/has_helpers/resource/action_presenter.rb', line 4 def icon @icon end |
#service ⇒ Object
href attribute
4 5 6 |
# File 'app/presenters/has_helpers/resource/action_presenter.rb', line 4 def service @service end |
#title ⇒ Object
href attribute
4 5 6 |
# File 'app/presenters/has_helpers/resource/action_presenter.rb', line 4 def title @title end |