Class: Foobara::AuthHttp::SetUserToAuthenticatedUser
- Inherits:
-
CommandConnectors::Http::SetInputToProcResult
- Object
- Value::Processor
- Value::Mutator
- CommandConnectors::RequestMutator
- CommandConnectors::Http::SetInputToProcResult
- Foobara::AuthHttp::SetUserToAuthenticatedUser
- Defined in:
- foobara-auth-http-0.0.7/src/foobara/auth_http/set_user_to_authenticated_user.rb
Instance Attribute Summary
Attributes inherited from CommandConnectors::Http::SetInputToProcResult
#attribute_name, #input_value_proc
Attributes inherited from Value::Processor
#created_in_namespace, #declaration_data, #parent_declaration_data
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ SetUserToAuthenticatedUser
constructor
A new instance of SetUserToAuthenticatedUser.
Methods inherited from CommandConnectors::Http::SetInputToProcResult
#applicable?, for, #inputs_type_from, #mutate
Methods inherited from CommandConnectors::RequestMutator
#inputs_type_declaration_from, #inputs_type_from, #mutate
Methods inherited from Value::Mutator
error_classes, foobara_manifest, #mutate, #process_value
Methods inherited from Value::Processor
#always_applicable?, #applicable?, #attribute_name, #build_error, default_declaration_data, #dup_processor, error_class, error_classes, #error_context, #error_message, #error_path, foobara_manifest, #foobara_manifest, #inspect, instance, #method_missing, #name, new_with_agnostic_args, #possible_errors, #priority, #process_outcome, #process_outcome!, #process_value, #process_value!, processor_name, requires_parent_declaration_data?, #respond_to_missing?, #runner, symbol
Methods included from IsManifestable
#foobara_domain, #foobara_manifest, #foobara_organization, #scoped_clear_caches
Methods included from Concern
foobara_class_methods_module_for, foobara_concern?, included
Constructor Details
#initialize ⇒ SetUserToAuthenticatedUser
Returns a new instance of SetUserToAuthenticatedUser.
11 12 13 14 15 16 |
# File 'foobara-auth-http-0.0.7/src/foobara/auth_http/set_user_to_authenticated_user.rb', line 11 def initialize self.attribute_name = :user self.input_value_proc = proc { authenticated_user } super end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Foobara::Value::Processor
Class Method Details
.requires_declaration_data? ⇒ Boolean
6 7 8 |
# File 'foobara-auth-http-0.0.7/src/foobara/auth_http/set_user_to_authenticated_user.rb', line 6 def requires_declaration_data? false end |