onlyoffice_api_gem:Gem for OnlyOffice API

时间:2024-04-26 13:57:54
【文件属性】:

文件名称:onlyoffice_api_gem:Gem for OnlyOffice API

文件大小:525KB

文件格式:ZIP

更新时间:2024-04-26 13:57:54

Ruby

ONLYOFFICE API宝石 Ruby框架与ONLYOFFICE API进行交互 安装 将此行添加到您的应用程序的Gemfile中: gem 'onlyoffice_api' 然后执行: bundle 或将其自己安装为: gem install onlyoffice_api 用法 首先,您应该通过命令配置环境 OnlyOfficeApi.configure do |config| config.server = 'https://example.onlyoffice.com' config.username = 'foo' config.password = 'bar' config.proxy = Net::HTTP::Proxy('127.0.0.1', 8123) end 然后调用您需要的方法: OnlyOfficeApi.people.get_peopl


网友评论