Class: Jat
- Inherits:
-
Object
- Object
- Jat
- Extended by:
- ClassMethods
- Includes:
- InstanceMethods
- Defined in:
- lib/jat.rb,
lib/jat.rb,
lib/jat/config.rb,
lib/jat/plugins.rb,
lib/jat/attribute.rb,
lib/jat/utils/jat_class.rb,
lib/jat/plugins/cache/cache.rb,
lib/jat/plugins/types/types.rb,
lib/jat/utils/enum_deep_dup.rb,
lib/jat/plugins/to_str/to_str.rb,
lib/jat/utils/enum_deep_freeze.rb,
lib/jat/plugins/json_api/lib/map.rb,
lib/jat/plugins/json_api/json_api.rb,
lib/jat/plugins/preloads/preloads.rb,
lib/jat/plugins/simple_api/lib/map.rb,
lib/jat/plugins/presenter/presenter.rb,
lib/jat/plugins/json_api/lib/response.rb,
lib/jat/plugins/maps_cache/maps_cache.rb,
lib/jat/plugins/simple_api/simple_api.rb,
lib/jat/plugins/simple_api/lib/response.rb,
lib/jat/plugins/activerecord/activerecord.rb,
lib/jat/plugins/json_api/lib/params/fields.rb,
lib/jat/plugins/json_api/lib/params/include.rb,
lib/jat/plugins/json_api/lib/response_piece.rb,
lib/jat/plugins/simple_api/lib/response_piece.rb,
lib/jat/plugins/validate_params/validate_params.rb,
lib/jat/plugins/base/base_preloads/base_preloads.rb,
lib/jat/plugins/json_api/lib/fields_param_parser.rb,
lib/jat/plugins/json_api/lib/params/fields/parse.rb,
lib/jat/plugins/json_api/lib/include_param_parser.rb,
lib/jat/plugins/json_api/lib/params/include/parse.rb,
lib/jat/plugins/lower_camel_case/lower_camel_case.rb,
lib/jat/plugins/simple_api/lib/fields_param_parser.rb,
lib/jat/plugins/json_api/lib/params/fields/validate.rb,
lib/jat/plugins/json_api/lib/params/include/validate.rb,
lib/jat/plugins/base/base_preloads/lib/preloads_with_path.rb,
lib/jat/plugins/base/base_preloads/lib/format_user_preloads.rb,
lib/jat/plugins/base/base_activerecord_preloads/lib/preloader.rb,
lib/jat/plugins/json_api/plugins/json_api_preloads/lib/preloads.rb,
lib/jat/plugins/base/base_lower_camel_case/base_lower_camel_case.rb,
lib/jat/plugins/simple_api/plugins/simple_api_preloads/lib/preloads.rb,
lib/jat/plugins/json_api/plugins/json_api_preloads/json_api_preloads.rb,
lib/jat/plugins/json_api/plugins/json_api_maps_cache/json_api_maps_cache.rb,
lib/jat/plugins/base/base_activerecord_preloads/base_activerecord_preloads.rb,
lib/jat/plugins/json_api/plugins/json_api_validate_params/lib/params_error.rb,
lib/jat/plugins/simple_api/plugins/simple_api_preloads/simple_api_preloads.rb,
lib/jat/plugins/json_api/plugins/json_api_activerecord/json_api_activerecord.rb,
lib/jat/plugins/simple_api/plugins/simple_api_maps_cache/simple_api_maps_cache.rb,
lib/jat/plugins/simple_api/plugins/simple_api_validate_params/lib/fields_error.rb,
lib/jat/plugins/json_api/plugins/json_api_validate_params/json_api_validate_params.rb,
lib/jat/plugins/simple_api/plugins/simple_api_activerecord/simple_api_activerecord.rb,
lib/jat/plugins/json_api/plugins/json_api_validate_params/lib/validate_fields_param.rb,
lib/jat/plugins/json_api/plugins/json_api_lower_camel_case/json_api_lower_camel_case.rb,
lib/jat/plugins/json_api/plugins/json_api_validate_params/lib/validate_include_param.rb,
lib/jat/plugins/simple_api/plugins/simple_api_validate_params/lib/validate_fields_param.rb,
lib/jat/plugins/simple_api/plugins/simple_api_validate_params/simple_api_validate_params.rb,
lib/jat/plugins/simple_api/plugins/simple_api_lower_camel_case/simple_api_lower_camel_case.rb
Overview
This plugin adds attribute methods #preloads, #preloads_path
Defined Under Namespace
Modules: ClassMethods, InstanceMethods, JatClass, Plugins Classes: Attribute, Config, EnumDeepDup, EnumDeepFreeze, Error, JsonApiParamsError, LowerCamelCaseTransformation, PluginLoadError, SimpleApiFieldsError
Constant Summary collapse
- FROZEN_EMPTY_HASH =
{}.freeze
- FROZEN_EMPTY_ARRAY =
[].freeze
Instance Attribute Summary
Attributes included from ClassMethods
Attributes included from InstanceMethods
Method Summary
Methods included from ClassMethods
attribute, attributes, call, inherited, plugin, plugin_used?, relationship, to_h