Socket
Book a DemoInstallSign in
Socket

ruboty-chatwork

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ruboty-chatwork

0.0.3
bundlerRubygems
Version published
Maintainers
1
Created
Source

Ruboty::Chatwork

Chatwork adapter for Ruboty.

Usage

Get your ChatWork API Token

# Gemfile
gem 'ruboty-chatwork'

ENV

CHATWORK_API_TOKEN             - ChatWork API Token
CHATWORK_ROOM                  - ChatWork Room ID
CHATWORK_API_RATE              - ChatWork API Rate(Requests per Hour)
CHATWORK_ROOM_FOR_SAYING       - ChatWork Room ID for Saying(Optional)

HOW TO SET THE ROOM TO SAY MESSAGE

  • Priority is high in numerical order (lower is ignored)
    • room_id:12345678 statement at last in message by saying
      • ex. ruboty Good Morning! room_id:12345678
    • room_id key in reply method
      • ex. message.reply("Hello!", room_id:12345678)
    • ENV["CHATWORK_ROOM_FOR_SAYING"]
    • ENV["CHATWORK_ROOM"]
  • Note
    • regexp of extracting room_id is poor ;)

Contributing

  • Fork it ( http://github.com/mhag/ruboty-chatwork/fork )
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

FAQs

Package last updated on 25 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.