Class: Golden::ApplicationTransformer
- Inherits:
-
Object
- Object
- Golden::ApplicationTransformer
- Includes:
- ActiveModel::AttributeAssignment, ActiveModel::Validations, ActiveModel::Validations::Callbacks, BooleanAccessor, DateTimeAccessor
- Defined in:
- lib/golden/objects/application/application_transformer.rb
Constant Summary
Constants included from BooleanAccessor
Instance Method Summary collapse
-
#initialize(params, accessors = {}) ⇒ ApplicationTransformer
constructor
A new instance of ApplicationTransformer.
- #perform ⇒ Object
Methods included from DateTimeAccessor
Constructor Details
#initialize(params, accessors = {}) ⇒ ApplicationTransformer
Returns a new instance of ApplicationTransformer.
13 14 15 16 |
# File 'lib/golden/objects/application/application_transformer.rb', line 13 def initialize(params, accessors = {}) @params = params assign_attributes(accessors || {}) end |
Instance Method Details
#perform ⇒ Object
18 19 20 |
# File 'lib/golden/objects/application/application_transformer.rb', line 18 def perform raise NotImplementedError end |