         url: resource.url
         method: method
         headers: {}
-        content: options.content
         query: options.query
         on: {}
+      if options.body
+        request.body = options.body
+      else if options.content
+        request.content = options.content
 
       # verify presence of the required query params from the schema
       for key, value of required_params

      value: client
      enumerable: false

    if definition = @resource_definitions[resource_type]
      @define_actions(constructor, definition.actions)

    constructor

  define_actions: (constructor, actions) ->

      schema.type

  wrap: (type, data) ->
    if wrapper = @representations[type]
      new wrapper(data)
    else
      data
