ref: master
plugins/smssync/lib/smssync_plugin.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
module SmssyncPlugin extend Noosfero::Plugin::ParentMethods def self.plugin_name "Smssync" end def self.plugin_description "Smssync by Ushahidi" end def self.config @config ||= HashWithIndifferentAccess.new(YAML.load File.read("#{File.dirname __FILE__}/../config.yml")) rescue {} end def self.secret @secret ||= self.config[:secret] end end |