def create(loss_reason)
      validate_type!(loss_reason)

      attributes = sanitize(loss_reason)
      _, _, root = @client.post("/loss_reasons", attributes)

      LossReason.new(root[:data])
    end
def create(loss_reason)
      validate_type!(loss_reason)

      attributes = sanitize(loss_reason)
      _, _, root = @client.post("/loss_reasons", attributes)

      LossReason.new(root[:data])
    end
Create a loss reason

 post '/loss_reasons'

 Create a new loss reason
 <figure class="notice">
 Loss reason's name **must** be unique
 </figure>

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