net.arangamani.jenkins.gempublisher
Class RubygemsApi

java.lang.Object
  extended by net.arangamani.jenkins.gempublisher.RubygemsApi

public class RubygemsApi
extends Object


Constructor Summary
RubygemsApi(RubygemsCreds creds)
           
 
Method Summary
 String postGem(String gemFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RubygemsApi

@DataBoundConstructor
public RubygemsApi(RubygemsCreds creds)
Parameters:
creds - the RubygemsCreds object that holds the credentials to communicate with rubygems.org
Method Detail

postGem

public String postGem(String gemFile)
               throws Exception
Parameters:
gemFile - the absolute location of the gem file
Returns:
response from the POST request to post the gem
Throws:
Exception


Copyright © 2004-2013. All Rights Reserved.