class Purest::Cert

Constants

GET_PARAMS

Public Instance Methods

create(options = nil) click to toggle source
Calls superclass method Purest::APIMethods#create
# File lib/purest/cert.rb, line 19
def create(options = nil)
  super(options, 'cert')
end
delete(options = nil) click to toggle source
Calls superclass method Purest::APIMethods#delete
# File lib/purest/cert.rb, line 27
def delete(options = nil)
  super(options, 'cert')
end
get(options = nil) click to toggle source
Calls superclass method Purest::APIMethods#get
# File lib/purest/cert.rb, line 11
def get(options = nil)
  if !options.nil? && options[:csr]
    super(options, 'cert/certificate_signing_request', GET_PARAMS)
  else
    super(options, 'cert', GET_PARAMS)
  end
end
update(options = nil) click to toggle source
Calls superclass method Purest::APIMethods#update
# File lib/purest/cert.rb, line 23
def update(options = nil)
  super(options, 'cert')
end