lib/phraseapp-ruby.rb
def glossaries_list(account_id, page, per_page)
      path = sprintf("/api/v2/accounts/%s/glossaries", account_id)
      data_hash = {}
      post_body = nil
  
      reqHelper = PhraseApp::ParamsHelpers::BodyTypeHelper.new(data_hash, post_body)
      rc, err = PhraseApp.send_request_paginated(@credentials, "GET", path, reqHelper.ctype, reqHelper.body, 200, page, per_page)
      if err != nil
        return nil, err
      end
      
      return JSON.load(rc.body).map { |item| PhraseApp::ResponseObjects::Glossary.new(item) }, err
    end
def glossaries_list(account_id, page, per_page)
      path = sprintf("/api/v2/accounts/%s/glossaries", account_id)
      data_hash = {}
      post_body = nil
  
      reqHelper = PhraseApp::ParamsHelpers::BodyTypeHelper.new(data_hash, post_body)
      rc, err = PhraseApp.send_request_paginated(@credentials, "GET", path, reqHelper.ctype, reqHelper.body, 200, page, per_page)
      if err != nil
        return nil, err
      end
      
      return JSON.load(rc.body).map { |item| PhraseApp::ResponseObjects::Glossary.new(item) }, err
    end
List all glossaries the current user has access to.
 API Path: /api/v2/accounts/:account_id/glossaries
 == Parameters:
 account_id::
   account_id

 == Returns:
   PhraseApp::ResponseObjects::Glossary
   err