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::Feedback::RequestStats.core_attrs(stats: true)
ACCOUNT_ATTRS =
Eco::API::Session::Batch::Feedback::RequestStats.(stats: true)
DETAILS_ATTRS =
Eco::API::Session::Batch::Feedback::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, #count, #max, #min

Attributes included from Language::Models::Hierarchy

#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 Language::Klass::InheritableClassVars

#inheritable_attrs, #inheritable_class_vars, #inherited

Methods included from Language::Klass::Naming

#instance_variable_name, #to_constant

Methods included from Language::Klass::Hierarchy

#descendants, #descendants?

Methods included from Language::Klass::Builder

#new_class

Methods included from Language::Klass::Uid

#uid

Methods included from Language::Klass::Resolver

#class_resolver, #resolve_class

Methods included from Language::Klass::Const

#if_const, #redef_without_warning

Methods included from Language::Models::Hierarchy

#model_attrs, #parse_model

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