Sha256: 258e4412864930ac8417743b96d77929b68d8f6cf575b1b104ff70de2afda5ae
Contents?: true
Size: 398 Bytes
Versions: 39
Compression:
Stored size: 398 Bytes
Contents
Description: This generator generates an api resource that inherit from ApiMe::BaseController Example: rails generate api_resource foo_bar foo:references{polymorphic} bar:belongs_to name description This will create: app/models/foo_bar.rb app/serializers/foo_bar_serializer.rb app/policy/foo_bar_policy.rb app/controllers/api/v1/foo_bars_controller.rb
Version data entries
39 entries across 39 versions & 1 rubygems