Module: OpenStax

Defined in:
lib/openstax/api/roar.rb,
lib/openstax_api.rb,
lib/openstax/api/apipie.rb,
lib/openstax/api/engine.rb,
lib/openstax/api/version.rb,
lib/openstax/api/constraints.rb,
lib/openstax/api/rspec_helpers.rb,
app/models/openstax/api/api_user.rb,
lib/openstax/api/routing_mapper_includes.rb,
lib/openstax/api/representable_schema_printer.rb,
app/controllers/openstax/api/v1/api_controller.rb,
lib/openstax/api/doorkeeper_application_includes.rb

Overview

Provides API-specific HTTP request methods

The args at the end of each request is interpreted a hash that can contain keys for:

:raw_post_data -- a JSON string (if a Hash provided, to_json will be called on it)
:parameters -- a hash of parameters
:session -- whatever built-in request methods expect
:flash -- whatever built-in request methods expect

Helpful documentation:

https://github.com/rails/rails/blob/3-2-stable/actionpack/lib/action_controller/test_case.rb

Defined Under Namespace

Modules: Api