Sha256: 63b3aa56909a92111730fdbb4309c28952f150ad1e36e4cc8760bb596777e717

Contents?: true

Size: 263 Bytes

Versions: 3

Compression:

Stored size: 263 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'
require 'rails/generators/rails/resource/resource_generator'

module Rails
  module Generators
    class ResourceGenerator
      def add_serializer
        invoke 'serializer'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_model_serializers-0.9.13 lib/active_model/serializer/generators/resource_override.rb
active_model_serializers-0.9.12 lib/active_model/serializer/generators/resource_override.rb
active_model_serializers-0.9.11 lib/active_model/serializer/generators/resource_override.rb