Class: Foobara::AuthHttp::ClearAccessTokenHeader

Inherits:
CommandConnectors::Http::SetHeader show all
Defined in:
foobara-auth-http-0.0.7/src/foobara/auth_http/clear_access_token_header.rb

Instance Attribute Summary

Attributes inherited from CommandConnectors::Http::SetHeader

#header_name, #header_value

Attributes inherited from Value::Processor

#created_in_namespace, #declaration_data, #parent_declaration_data

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from CommandConnectors::Http::SetHeader

for, #mutate, #result_type_from

Methods inherited from CommandConnectors::ResponseMutator

#mutate, #result_type_declaration_from, #result_type_from

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(header_name = "X-Access-Token", header_value = nil) ⇒ ClearAccessTokenHeader

Returns a new instance of ClearAccessTokenHeader.



11
12
13
14
15
16
# File 'foobara-auth-http-0.0.7/src/foobara/auth_http/clear_access_token_header.rb', line 11

def initialize(header_name = "X-Access-Token", header_value = nil)
  super()

  self.header_name = header_name.to_s
  self.header_value = header_value
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

Returns:

  • (Boolean)


6
7
8
# File 'foobara-auth-http-0.0.7/src/foobara/auth_http/clear_access_token_header.rb', line 6

def requires_declaration_data?
  false
end