def create(source)
      validate_type!(source)

      attributes = sanitize(source)
      _, _, root = @client.post("/sources", attributes)

      Source.new(root[:data])
    end
def create(source)
      validate_type!(source)

      attributes = sanitize(source)
      _, _, root = @client.post("/sources", attributes)

      Source.new(root[:data])
    end
Create a source

 post '/sources'

 Creates a new source
 <figure class="notice">
 Source's name **must** be unique
 </figure>

 @param source [Source, Hash] Either object of the Source type or Hash. This object's attributes describe the object to be created.
 @return [Source] The resulting object represting created resource.