lib/phraseapp-ruby.rb
def release_publish(account_id, distribution_id, id)
      path = sprintf("/api/v2/accounts/%s/distributions/%s/releases/%s/publish", account_id, distribution_id, id)
      data_hash = {}
      post_body = nil
  
      reqHelper = PhraseApp::ParamsHelpers::BodyTypeHelper.new(data_hash, post_body)
      rc, err = PhraseApp.send_request(@credentials, "POST", path, reqHelper.ctype, reqHelper.body, 200)
      if err != nil
        return nil, err
      end
      
      return PhraseApp::ResponseObjects::Release.new(JSON.load(rc.body)), err
    end
def release_publish(account_id, distribution_id, id)
      path = sprintf("/api/v2/accounts/%s/distributions/%s/releases/%s/publish", account_id, distribution_id, id)
      data_hash = {}
      post_body = nil
  
      reqHelper = PhraseApp::ParamsHelpers::BodyTypeHelper.new(data_hash, post_body)
      rc, err = PhraseApp.send_request(@credentials, "POST", path, reqHelper.ctype, reqHelper.body, 200)
      if err != nil
        return nil, err
      end
      
      return PhraseApp::ResponseObjects::Release.new(JSON.load(rc.body)), err
    end
Publish a release for production.
 API Path: /api/v2/accounts/:account_id/distributions/:distribution_id/releases/:id/publish
 == Parameters:
 account_id::
   account_id
 distribution_id::
   distribution_id
 id::
   id

 == Returns:
   PhraseApp::ResponseObjects::Release
   err