Sha256: e23e0569961e1d3f401ba4c20cbb383218dce23d6889a2e86de68d02a728acfd

Contents?: true

Size: 162 Bytes

Versions: 1

Compression:

Stored size: 162 Bytes

Contents

module <%= vendor.classify %>
  module Entities
    class Base < Grape::Entity
      format_with(:iso_timestamp) { |dt| dt ? dt.iso8601 : nil }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grape-api-generator-0.1.0 lib/generators/grape/templates/entities/base.rb