Class: BlockPresenter

Inherits:
BasePresenter show all
Defined in:
app/presenters/block_presenter.rb

Instance Attribute Summary

Attributes inherited from BasePresenter

#current_user

Instance Method Summary collapse

Methods inherited from BasePresenter

as_collection, #initialize, #method_missing, new

Constructor Details

This class inherits a constructor from BasePresenter

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BasePresenter

Instance Method Details

#base_hashObject


5
6
7
# File 'app/presenters/block_presenter.rb', line 5

def base_hash
  { id: id }
end