def create(deal_source)
      validate_type!(deal_source)

      attributes = sanitize(deal_source)
      _, _, root = @client.post("/deal_sources", attributes)

      DealSource.new(root[:data])
    end
def create(deal_source)
      validate_type!(deal_source)

      attributes = sanitize(deal_source)
      _, _, root = @client.post("/deal_sources", attributes)

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

 post '/deal_sources'

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

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