# File lib/apipie/client/base.rb, line 12
      def initialize(config, options = { })
        @client = RestClient::Resource.new config[:base_url],
                                           :user     => config[:username],
                                           :password => config[:password],
                                           :oauth    => config[:oauth],
                                           :headers  => { :content_type => 'application/json',
                                                          :accept       => 'application/json' }
        @config = config
      end