lib/hibot/helpers/configuration.rb in hibot-0.0.1 vs lib/hibot/helpers/configuration.rb in hibot-0.0.2
- old
+ new
@@ -21,6 +21,12 @@
def configure_hibot_spotify(opts)
opts.each {|opt, value|
API::Spotify.class_variable_set("@@#{opt}", value)
}
end
+
+ def configure_hibot_giphy(opts)
+ opts.each {|opt, value|
+ API::Giphy.class_variable_set("@@#{opt}", value)
+ }
+ end
end
\ No newline at end of file