ruby-grape/grape-roar

View on GitHub
lib/grape/roar/decorator.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require 'roar/decorator'

module Grape
  module Roar
    class Decorator < ::Roar::Decorator
      def self.represent(object, _options = {})
        new(object)
      end
    end
  end
end