#!/usr/bin/env node

var request = require('request')

module.exports = (function () {

    var API_URL = 'https://api.digitalocean.com/v2/'

    return {
        call: function (options, callback) {
            options.url = API_URL + options.action
            options.headers = {
                json: true,
                Authorization: 'Bearer ' + options.token
            }

            delete options.action
            delete options.token

            request(options, function (err, res, body) {
                if (err) return callback(err)
                if (res.statusCode >= 400) return callback(JSON.parse(body))

                callback(null, body)
            });
        }
    }

})()

@@ -1,25 +1,4 @@
-#!/usr/bin/env node%0A%0A
 var 
@@ -131,24 +131,25 @@
 n %7B%0A        
+_
 call: functi

Update call method name