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

Version Path
api_me-0.14.1 lib/generators/api_me/resource/USAGE
api_me-0.14.0 lib/generators/api_me/resource/USAGE
api_me-0.13.0 lib/generators/api_me/resource/USAGE
api_me-0.12.0 lib/generators/api_me/resource/USAGE
api_me-0.11.1 lib/generators/api_me/resource/USAGE
api_me-0.10.7 lib/generators/api_me/resource/USAGE
api_me-0.10.6 lib/generators/api_me/resource/USAGE
api_me-0.10.5 lib/generators/api_me/resource/USAGE
api_me-0.10.4 lib/generators/api_me/resource/USAGE
api_me-0.10.3 lib/generators/api_me/resource/USAGE
api_me-0.10.2 lib/generators/api_me/resource/USAGE
api_me-0.10.1 lib/generators/api_me/resource/USAGE
api_me-0.10.0 lib/generators/api_me/resource/USAGE
api_me-0.9.4 lib/generators/api_me/resource/USAGE
api_me-0.9.3 lib/generators/api_me/resource/USAGE
api_me-0.9.2 lib/generators/api_me/resource/USAGE
api_me-0.9.1 lib/generators/api_me/resource/USAGE
api_me-0.9.0 lib/generators/api_me/resource/USAGE
api_me-0.8.3 lib/generators/api_me/resource/USAGE
api_me-0.7.1 lib/generators/api_me/resource/USAGE