lib/vertebrae.rb in vertebrae-0.1.1 vs lib/vertebrae.rb in vertebrae-0.1.2

- old
+ new

@@ -2,40 +2,15 @@ require 'configuration' require 'connection' require 'authorization' require 'request' require 'api' +require 'base' require 'active_support/all' require 'vertebrae/railties' if defined? Rails module Vertebrae - extend Configuration - - - def logger - @@logger ||= Logger.new(STDOUT) - end - - def logger=(logger) - @@logger = logger - end - - # implement this in your api - # - def new(options = {}, &block) - raise "implement me!" - end - - def method_missing(method, *args, &block) - return super unless new.respond_to?(method) - new.send(method, *args, &block) - end - - def respond_to?(method, include_private = false) - new.respond_to?(method, include_private) || super(method, include_private) - end - end \ No newline at end of file