lib/ourkudos/our_kudos.rb in ourkudos-0.0.15 vs lib/ourkudos/our_kudos.rb in ourkudos-0.0.16
- old
+ new
@@ -1,7 +1,9 @@
require 'nestful'
module OurKudos
-
+
+ require 'railtie' if defined?(Rails)
+
class << self
#alias method
def api_key
OurKudos::Client.api_key
\ No newline at end of file