Class: Golden::ApplicationTransformer

Inherits:
Object
  • Object
show all
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

BooleanAccessor::TRUE_VALUES

Instance Method Summary collapse

Methods included from DateTimeAccessor

#parse_time

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

#performObject

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/golden/objects/application/application_transformer.rb', line 18

def perform
  raise NotImplementedError
end