Class: Jenkins2::API::Credentials::Store::Proxy
- Inherits:
-
ResourceProxy
- Object
- ResourceProxy
- Jenkins2::API::Credentials::Store::Proxy
- Defined in:
- lib/jenkins2/api/credentials.rb
Instance Attribute Summary
Attributes inherited from ResourceProxy
Instance Method Summary collapse
Methods inherited from ResourceProxy
#initialize, #method_missing, #raw, #respond_to_missing?, #subject
Constructor Details
This class inherits a constructor from Jenkins2::ResourceProxy
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Jenkins2::ResourceProxy
Instance Method Details
#create_domain(config_xml) ⇒ Object
25 26 27 28 29 |
# File 'lib/jenkins2/api/credentials.rb', line 25 def create_domain(config_xml) connection.post(build_path('createDomain'), config_xml) do |req| req['Content-Type'] = 'text/xml' end.code == '200' end |