commonsense-ruby-lib:客户端库,用于与用ruby编写的CommonSense进行通信

时间:2021-05-21 01:07:06
【文件属性】:
文件名称:commonsense-ruby-lib:客户端库,用于与用ruby编写的CommonSense进行通信
文件大小:51KB
文件格式:ZIP
更新时间:2021-05-21 01:07:06
Ruby 常识:: Ruby :: Lib 客户端库,用于与用ruby编写的CommonSense进行通信 RDoc 安装 用rubygems安装: $ gem install cs 如果您使用Bundler管理gem依赖关系,请将此行添加到Gemfile中: gem 'cs' 然后执行: $ bundle 用法 验证 client = CS :: Client . new client . login ( 'username' , 'password' ) # setting session_id manually client = CS :: Client . new client . session_id = '1234' # get current user current_user = client . current_user 查询传感器 # create senso
【文件预览】:
commonsense-ruby-lib-master
----.travis.yml(236B)
----bin()
--------cs-password(859B)
--------cs(1021B)
--------cs-console(3KB)
----Rakefile(134B)
----test.rb(474B)
----LICENSE(1KB)
----cs.gemspec(951B)
----Gemfile(427B)
----spec()
--------features()
--------support()
--------lib()
--------spec_helper.rb(739B)
----.gitignore(209B)
----CHANGELOG.md(93B)
----lib()
--------cs.rb(5KB)
--------cs()
----README.md(6KB)

网友评论