Sha256: 9426b42ddd0a9df8a196788483a54f7fe4d8a19dafb8ab203f8d0d4e77876295

Contents?: true

Size: 231 Bytes

Versions: 13

Compression:

Stored size: 231 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

13 entries across 13 versions & 2 rubygems

Version Path
active_model_serializers-0.10.0.rc3 lib/generators/serializer/resource_override.rb
cheap_ams-0.10.11 lib/generators/serializer/resource_override.rb
cheap_ams-0.10.10 lib/generators/serializer/resource_override.rb
cheap_ams-0.10.8 lib/generators/serializer/resource_override.rb
cheap_ams-0.10.7 lib/generators/serializer/resource_override.rb
cheap_ams-0.10.6 lib/generators/serializer/resource_override.rb
cheap_ams-0.10.5 lib/generators/serializer/resource_override.rb
cheap_ams-0.10.4 lib/generators/serializer/resource_override.rb
cheap_ams-0.10.3 lib/generators/serializer/resource_override.rb
cheap_ams-0.10.2 lib/generators/serializer/resource_override.rb
cheap_ams-0.10.1 lib/generators/serializer/resource_override.rb
cheap_ams-0.10.0.rc2 lib/generators/serializer/resource_override.rb
active_model_serializers-0.10.0.rc2 lib/generators/serializer/resource_override.rb