Reputation: 6609
I want to write a cinch IRC bot that sends information to a rails application. The rails application will essentially function as a monitor for users, and theoretically the data displayed will continually refresh.
I have the basic IRC bot working on it's own and have written standalone rails applications before. I do not know what the best way to integrate them together is though? Using sidekiq could start the bot, but it does not give me a clean way to connect back into the website.
Upvotes: 0
Views: 146
Reputation: 106792
I see three options:
script/runner
to call your methods in your app directlyI think the api solution is the only reasonable option for security and maintainablity reasons.
Upvotes: 1