Class: HasHelpers::Resource::ActionPresenter

Inherits:
BasePresenter show all
Defined in:
app/presenters/has_helpers/resource/action_presenter.rb

Instance Attribute Summary collapse

Attributes inherited from BasePresenter

#errors, #wrapped_object

Method Summary

Methods inherited from BasePresenter

#==, #error_on, #initialize, wrap, wrap_with_options

Methods included from Attributes

included

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

#dataObject

href attribute



4
5
6
# File 'app/presenters/has_helpers/resource/action_presenter.rb', line 4

def data
  @data
end

#iconObject

href attribute



4
5
6
# File 'app/presenters/has_helpers/resource/action_presenter.rb', line 4

def icon
  @icon
end

#serviceObject

href attribute



4
5
6
# File 'app/presenters/has_helpers/resource/action_presenter.rb', line 4

def service
  @service
end

#titleObject

href attribute



4
5
6
# File 'app/presenters/has_helpers/resource/action_presenter.rb', line 4

def title
  @title
end