Sha256: b1a8bf43cac3a3470b162c40aedc1523eeaa9393f005ae4c24b7098b0868981f

Contents?: true

Size: 1.07 KB

Versions: 155

Compression:

Stored size: 1.07 KB

Contents

Description:
    The web service generator creates the controller and API definition for 
    a web service.

    The generator takes a web service name and a list of API methods as arguments.
    The web service name may be given in CamelCase or under_score and should
    contain no extra suffixes.  To create a web service within a
    module, specify the web service name as 'module/webservice'.

    The generator creates a controller class in app/controllers, an API definition
    in app/apis, and a functional test suite in test/functional.

Example:
    ./script/generate web_service User add edit list remove

    User web service.
        Controller: app/controllers/user_controller.rb
        API:        app/apis/user_api.rb
        Test:       test/functional/user_api_test.rb

Modules Example:
    ./script/generate web_service 'api/registration' register renew

    Registration web service.
        Controller: app/controllers/api/registration_controller.rb
        API:        app/apis/api/registration_api.rb
        Test:       test/functional/api/registration_api_test.rb

Version data entries

155 entries across 155 versions & 32 rubygems

Version Path
GavinJoyce-actionwebservice-2.2.3 generators/web_service/USAGE
datanoise-actionwebservice-2.1.0 generators/web_service/USAGE
datanoise-actionwebservice-2.1.1 generators/web_service/USAGE
datanoise-actionwebservice-2.2.2 generators/web_service/USAGE
datanoise-actionwebservice-2.3.2 generators/web_service/USAGE
davidsmalley-actionwebservice-2.3.1 generators/web_service/USAGE
davidsmalley-actionwebservice-2.3 generators/web_service/USAGE
dougbarth-actionwebservice-2.1.1 generators/web_service/USAGE
dougbarth-actionwebservice-2.3.3 generators/web_service/USAGE
dougbarth-actionwebservice-2.3.4 generators/web_service/USAGE
feldpost-actionwebservice-2.3.3 generators/web_service/USAGE
mozy-actionwebservice-2.3.2 generators/web_service/USAGE
nmeans-actionwebservice-2.1.1 generators/web_service/USAGE
panztel-actionwebservice-2.3.4 generators/web_service/USAGE
pelle-actionwebservice-2.3.3 generators/web_service/USAGE
rickenharp-actionwebservice-2.3.4 generators/web_service/USAGE
tonycoco-actionwebservice-2.3.3 generators/web_service/USAGE
tonycoco-actionwebservice-2.3.4 generators/web_service/USAGE
keeguon-actionwebservice-3.1.2 generators/web_service/USAGE
keeguon-actionwebservice-3.1.1 generators/web_service/USAGE