Method: RHC::Rest::ApiMethods#reset
- Defined in:
- lib/rhc/rest/client.rb
#reset ⇒ Object
201 202 203 204 205 206 207 |
# File 'lib/rhc/rest/client.rb', line 201 def reset (instance_variables - [ :@end_point, :@debug, :@preferred_api_versions, :@auth, :@options, :@headers, :@last_options, :@httpclient, :@self_signed, :@current_api_version, :@api ]).each{ |sym| instance_variable_set(sym, nil) } self end |