class DocGenerationWrapper::Adapter::DocRaptorService::Command

Public Instance Methods

create!(options, &respond_callback) click to toggle source
# File lib/doc_generation_wrapper/adapters/doc_raptor_service/command.rb, line 7
def create! options, &respond_callback
  response = DocRaptor::DocApi.new.create_async_doc(options)
  respond_callback.call response.status_id if block_given?
  nil
end