Sha256: abe77999e5bbe441eac6541ebb7b562f62e3c88e1486f10088c8d30a663bc4ad
Contents?: true
Size: 382 Bytes
Versions: 13
Compression:
Stored size: 382 Bytes
Contents
# frozen_string_literal: true module ApiMe module Generators class ResourceGenerator < Rails::Generators::Base def run_generators params = @_initializer[0] invoke 'model', params invoke 'serializer', params + %w[created_at updated_at] invoke 'api_me:policy', params invoke 'api_me:controller', params end end end end
Version data entries
13 entries across 13 versions & 1 rubygems