Class: Golden::ApplicationPresenter

Inherits:
Object
  • Object
show all
Extended by:
ActiveModel::Naming, ActiveModel::Translation
Includes:
ActiveModel::AttributeAssignment
Defined in:
lib/golden/objects/application/application_presenter.rb

Instance Method Summary collapse

Constructor Details

#initialize(accessors = {}) ⇒ ApplicationPresenter

Returns a new instance of ApplicationPresenter.



11
12
13
# File 'lib/golden/objects/application/application_presenter.rb', line 11

def initialize(accessors = {})
  assign_attributes(accessors || {})
end