class SiriProxy::Plugin::Example
This is a “hello world” style plugin. It simply intercepts the phrase “test siri proxy” and responds with a message about the proxy being up and running (along with a couple other core features). This is good base code for other plugins.
Remember to add other plugins to the “config.yml” file if you create them!
Public Class Methods
new(config)
click to toggle source
# File lib/siriproxy-example.rb, line 14 def initialize(config) #if you have custom configuration options, process them here! end