lib/mashery.rb in mashery_rails-0.6.2 vs lib/mashery.rb in mashery_rails-0.6.3
- old
+ new
@@ -14,15 +14,17 @@
require 'mashery/rest_client'
require 'mashery/query_builder'
require 'mashery/rest_client/query'
-
require 'mashery/member'
require 'mashery/key'
require 'mashery/service'
+require 'mashery/rails'
+require 'mashery/generator'
+
module Mashery
@@config = nil
def self.config
raise Mashery::ConfigMissing.new unless @@config.present?
@@ -46,10 +48,6 @@
end
def self.activity(activity_type, service_id, options)
Mashery.rest.activity(activity_type, service_id, options)
end
-end
-
-if defined?(Rails)
- require 'mashery/rails'
end