lockitron:用于Lockitron的Ruby Gem

时间:2021-05-15 05:13:27
【文件属性】:
文件名称:lockitron:用于Lockitron的Ruby Gem
文件大小:20KB
文件格式:ZIP
更新时间:2021-05-15 05:13:27
Ruby #Lockitron 与通讯 ##用法 gem install lockitron 如果您还没有应用程序用户的OAuth2令牌 auther = Lockitron :: Auth . new ( client_id : 'YOUR_OAUTH_CLIENT_ID' , client_secret : 'YOUR_OAUTH_CLIENT_SECRET' , redirect_uri : 'URI_FOR_CODE' ) auther . authorization_url #Send your user to this URL to authenticate your app auther . token_from_code 'code parameter on the redirect uri' auther . token # Store this, it is your to
【文件预览】:
lockitron-master
----.travis.yml(56B)
----lockitron.gemspec(1KB)
----Rakefile(321B)
----Gemfile(94B)
----.rspec(8B)
----.document(55B)
----spec()
--------request()
--------spec_helper.rb(1KB)
--------fixtures()
----.ruby-version(6B)
----.gitignore(159B)
----lib()
--------lockitron()
--------lockitron.rb(148B)
----README.md(2KB)
----LICENSE.txt(1KB)

网友评论