module AdequateSerialization::Steps

Public Class Methods

apply(object, *options) click to toggle source
# File lib/adequate_serialization/steps.rb, line 5
def self.apply(object, *options)
  opts = Options.from(*options)

  response = Response.new(object, opts)
  decorator = Decorator.from(opts.attachments)

  decorator.decorate(AdequateSerialization.steps.apply(response))
end