Sha256: eaecd64d3411da9e1201d902a878089f562f25345589e2240835b4f4eb67997b
Contents?: true
Size: 313 Bytes
Versions: 1
Compression:
Stored size: 313 Bytes
Contents
# frozen_string_literal: true module Grape module Roar module Representer def self.included(base) base.extend(ClassMethods) end module ClassMethods def represent(object, _options = {}) object.extend self object end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grape-roar-0.4.1 | lib/grape/roar/representer.rb |