Module: OpenStax::Api

Defined in:
lib/openstax_api.rb,
lib/openstax/api/roar.rb,
lib/openstax/api/apipie.rb,
lib/openstax/api/engine.rb,
lib/openstax/api/params.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,
app/representers/openstax/api/v1/abstract_search_representer.rb

Defined Under Namespace

Modules: Apipie, DoorkeeperApplicationIncludes, Params, RSpecHelpers, Roar, RoutingMapperIncludes, V1 Classes: ApiUser, Configuration, Constraints, Engine, RepresentableSchemaPrinter

Constant Summary collapse

VERSION =
'9.6.1'

Class Method Summary collapse

Class Method Details

.configurationObject



13
14
15
# File 'lib/openstax_api.rb', line 13

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



9
10
11
# File 'lib/openstax_api.rb', line 9

def self.configure
  yield configuration
end