ryz310/my_api_client

View on GitHub
lib/generators/rails/USAGE

Summary

Maintainability
Test Coverage
Description:
    Generate a new api client class files.

Example:
    `rails g api_client path/to/resource get:path/to/resource` --endpoint https://example.com

    This will create:
        create  app/api_clients/application_api_client.rb
        create  app/api_clients/path/to/resource_api_client.rb
        invoke  rspec
        create    spec/api_clients/path/to/resource_api_client_spec.rb