class ROM::Transformer

Transformer is a data mapper which uses Transproc's transformer DSL to define transformations.

@api public

Public Class Methods

base_relation() click to toggle source

This is needed to make transformers compatible with rom setup

@api private

# File lib/rom/transformer.rb, line 19
def self.base_relation
  relation
end
build() click to toggle source

Build a mapper instance

@return [Transformer]

@api public

# File lib/rom/transformer.rb, line 28
def self.build
  new
end