Module: ActionWebService::Container::ActionController::ClassMethods
- Defined in:
- lib/wss4r/aws/utils.rb
Constant Summary collapse
- @@initialized_resolver =
false
- @@initialized_tokens =
false
Instance Method Summary collapse
Instance Method Details
#security ⇒ Object
15 16 17 |
# File 'lib/wss4r/aws/utils.rb', line 15 def security() SOAP::Processor::security() end |
#wss_add_resolvers(resolvers) ⇒ Object
18 19 20 21 22 23 24 25 |
# File 'lib/wss4r/aws/utils.rb', line 18 def wss_add_resolvers(resolvers) if !(@@initialized_resolver) resolvers.each{|resolver| security().add_security_resolver(resolver) } @@initialized_resolver = true end end |
#wss_add_security_tokens(tokens) ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/wss4r/aws/utils.rb', line 26 def wss_add_security_tokens(tokens) if !(@@initialized_tokens) tokens.each{|token| security().add_security_token(token) } @@initialized_tokens = true end end |