Class: Eco::API::Session::Batch::Policies

Inherits:
BasePolicy show all
Defined in:
lib/eco/api/session/batch/policies.rb

Constant Summary collapse

CORE_ATTRS =
Eco::API::Session::Batch::RequestStats.core_attrs(stats: true)
ACCOUNT_ATTRS =
Eco::API::Session::Batch::RequestStats.(stats: true)
DETAILS_ATTRS =
Eco::API::Session::Batch::RequestStats.details_attrs(stats: true)
TOP_MODEL =
Eco::API::Session::Batch::Job.types.each_with_object({}) {|t, h| h[t] = submodel}

Instance Attribute Summary

Attributes inherited from BasePolicy

#attr, #max, #min

Attributes included from Common::ClassHierarchy

#model

Method Summary

Methods inherited from BasePolicy

#[], #[]=, #active?, #compliant?, #each, #empty?, #initialize, #items, #length, #max?, #min?, policy_attrs, policy_class, #subpolicies?, #uncompliance, #uncompliant, #validate!

Methods included from Common::ClassHierarchy

#model_attrs, #parse_model

Methods included from Common::ClassHelpers

#class_resolver, #descendants, #descendants?, #inheritable_attrs, #inheritable_class_vars, #inherited, #instance_variable_name, #new_class, #resolve_class, #to_constant

Methods included from Language::Methods::DslAble

#evaluate, #method_missing, #respond_to_missing?

Constructor Details

This class inherits a constructor from Eco::API::Session::Batch::BasePolicy

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Eco::Language::Methods::DslAble