Module: Ooor

Extended by:
ActiveSupport::Autoload
Includes:
OoorBehavior
Defined in:
lib/ooor/relation.rb,
lib/ooor.rb,
lib/ooor/base.rb,
lib/ooor/rack.rb,
lib/ooor/errors.rb,
lib/ooor/locale.rb,
lib/ooor/naming.rb,
lib/ooor/report.rb,
lib/ooor/railtie.rb,
lib/ooor/session.rb,
lib/ooor/version.rb,
lib/ooor/services.rb,
lib/ooor/callbacks.rb,
lib/ooor/transport.rb,
lib/ooor/reflection.rb,
lib/ooor/persistence.rb,
lib/ooor/associations.rb,
lib/ooor/model_schema.rb,
lib/ooor/type_casting.rb,
lib/ooor/field_methods.rb,
lib/ooor/serialization.rb,
lib/ooor/model_registry.rb,
lib/ooor/reflection_ooor.rb,
lib/ooor/reflection_ooor.rb,
lib/ooor/session_handler.rb,
lib/ooor/nested_attributes.rb,
lib/ooor/autosave_association.rb,
lib/ooor/mini_active_resource.rb,
lib/ooor/transport/json_client.rb,
lib/ooor/relation/finder_methods.rb,
lib/ooor/transport/xml_rpc_client.rb

Overview

OOOR: OpenObject On Ruby

Copyright (C) 2009-TODAY Akretion LTDA (<http://www.akretion.com>).
Author: Raphaƫl Valyi
Licensed under the MIT license, see MIT-LICENSE file

Defined Under Namespace

Modules: Associations, AutosaveAssociation, Callbacks, FieldMethods, FinderMethods, Locale, Naming, NestedAttributes, OoorBehavior, Persistence, RackBehaviour, Reflection, ReflectionOoor, Report, Serialization, Transport, TypeCasting Classes: Base, CommonService, DbService, InvalidSessionError, MiniActiveResource, ModelRegistry, ModelSchema, ObjectService, OpenERPServerError, Rack, Railtie, RecordInvalid, Relation, ReportService, Service, Session, SessionExpiredError, SessionHandler, TypeError, UnAuthorizedError, UnknownAttributeOrAssociationError, UnknownOpenERPServerError, ValidationError, ValueError

Constant Summary collapse

DEFAULT_OOOR_SESSION_CONFIG_MAPPER =
Proc.new do |env|
  Ooor.logger.debug "\n\nWARNING: using DEFAULT_OOOR_SESSION_CONFIG_MAPPER, you should probably define your own instead!
  You can define an Ooor::Rack.ooor_session_config_mapper block that will be evaled
  in the context of the rack middleware call after user is authenticated using Warden.
  Use it to map a Warden authentication to the OpenERP authentication you want.\n"""
  {}
end
DEFAULT_OOOR_PUBLIC_SESSION_CONFIG_MAPPER =
DEFAULT_OOOR_SESSION_CONFIG_MAPPER
MAJOR =
2
MINOR =
4
TINY =
0
PRE =
nil
VERSION =
[MAJOR, MINOR, TINY].compact.join('.')

Method Summary

Methods included from OoorBehavior

#with_ooor_default_session, #with_ooor_session