Class: Grape::Roar::Decorator

Inherits:
Roar::Decorator
  • Object
show all
Defined in:
lib/grape/roar/decorator.rb

Class Method Summary collapse

Class Method Details

.represent(object, _options = {}) ⇒ Object



8
9
10
# File 'lib/grape/roar/decorator.rb', line 8

def self.represent(object, _options = {})
  new(object)
end