Sha256: 749f328fc5b3eb9660ac3e882569a45fa5ae143d90d0697d4deaa6e68cd472bf

Contents?: true

Size: 232 Bytes

Versions: 11

Compression:

Stored size: 232 Bytes

Contents

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

11 entries across 11 versions & 1 rubygems

Version Path
active_model_serializers-0.9.9 lib/active_model/serializer/generators/resource_override.rb
active_model_serializers-0.9.8 lib/active_model/serializer/generators/resource_override.rb
active_model_serializers-0.9.7 lib/active_model/serializer/generators/resource_override.rb
active_model_serializers-0.9.6 lib/active_model/serializer/generators/resource_override.rb
active_model_serializers-0.9.5 lib/active_model/serializer/generators/resource_override.rb
active_model_serializers-0.9.4 lib/active_model/serializer/generators/resource_override.rb
active_model_serializers-0.9.3 lib/active_model/serializer/generators/resource_override.rb
active_model_serializers-0.9.2 lib/active_model/serializer/generators/resource_override.rb
active_model_serializers-0.9.1 lib/active_model/serializer/generators/resource_override.rb
active_model_serializers-0.9.0 lib/active_model/serializer/generators/resource_override.rb
active_model_serializers-0.9.0.alpha1 lib/active_model/serializer/generators/resource_override.rb